Commit a6982106

mo khan <mo@mokhan.ca>
2013-06-24 22:39:44
fix path to point to the tutorial tags controller
1 parent 35ed263
Changed files (1)
app
views
app/views/tutorials/index.html.erb
@@ -23,7 +23,7 @@
             <h3><a href="<%= tutorial.url %>" target="_blank"><%= tutorial.heading %></a> <small><%= tutorial.created_at.to_s :foomat %></small></h3>
             <p>
             <% tutorial.tags.each do |tag| -%>
-              <a href="/tutorials?tags=<%= tag.name %>"><span class="label"><%= tag.name %></span></a>
+              <a href="<%= url_for tutorial_tag_path(tag.name) %>"><span class="label"><%= tag.name %></span></a>
             <% end -%>
             </p>
             <p><%= tutorial.description %></p>