ralovely/simple_hashtag

View on GitHub
lib/generators/simple_hashtag/templates/views/hashtags_show.html.erb

Summary

Maintainability
Test Coverage
<h1><%= params[:hashtag] %></h1>
<% if @hashtagged %>
  <% @hashtagged.each do |hashtagged| %>
    <%= render_hashtaggable hashtagged %>
  <% end -%>
<% else -%>
  <p>There is no match for the <em><%= params[:hashtag] %></em> hashtag.</p>
<% end -%>