Commit 61cbec3f

mo khan <mo@mokhan.ca>
2013-06-18 03:33:37
make tags on the tutorials page link to the tutorial tags
1 parent 3d99d63
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="/tags/<%= tag.name %>"><span class="label"><%= tag.name %></span></a>
+              <a href="/tutorials?tags=<%= tag.name %>"><span class="label"><%= tag.name %></span></a>
             <% end -%>
             </p>
             <p><%= tutorial.description %></p>