summaryrefslogtreecommitdiff
path: root/app/views/tutorials
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2014-10-19 17:05:41 -0600
committermo khan <mo@mokhan.ca>2014-10-19 17:05:41 -0600
commitc35586ca5319e8b1333d577cd5ced786d0c0c0a8 (patch)
tree1a2b4265c51eb8d34f4081120e1ce29316d3284a /app/views/tutorials
parent976d92e081d8d6e4007dcb01a24d7407603dd018 (diff)
update tutorials pages to support site wide search.
Diffstat (limited to 'app/views/tutorials')
-rw-r--r--app/views/tutorials/index.html.erb1
-rw-r--r--app/views/tutorials/show.html.erb1
2 files changed, 2 insertions, 0 deletions
diff --git a/app/views/tutorials/index.html.erb b/app/views/tutorials/index.html.erb
index 38bc2766..198d8f41 100644
--- a/app/views/tutorials/index.html.erb
+++ b/app/views/tutorials/index.html.erb
@@ -1,3 +1,4 @@
+<%= provide(:search_path, tutorials_path) %>
<div class="row-fluid">
<% @tutorials.each_slice(6).each do |batch| %>
<ul class='thumbnails'>
diff --git a/app/views/tutorials/show.html.erb b/app/views/tutorials/show.html.erb
index c35f6f90..e9cd6e38 100644
--- a/app/views/tutorials/show.html.erb
+++ b/app/views/tutorials/show.html.erb
@@ -1,3 +1,4 @@
+<%= provide(:search_path, tutorials_path) %>
<div class="row-fluid">
<div class="span12">
<div class="thumbnail">