File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 5858 <% content . page_tags . each do |tag | %>
5959 <% if user_signed_in? && content . user == current_user %>
6060 <%= link_to params . permit ( :tag ) . merge ( { tag : PageTagService . slug_for ( tag . tag ) } ) do %>
61- < span class ="new badge <%= params [ :tag ] == tag . slug ? @content_type_class . color : 'grey' %> left " data-badge-caption ="<%= tag . tag %> "> </ span >
61+ < span class ="new badge <%= params [ :tag ] == tag . slug ? content . class . color : 'grey' %> left " data-badge-caption ="<%= tag . tag %> "> </ span >
6262 <% end %>
6363 <% else %>
64- < span class ="new badge <%= params [ :tag ] == tag . slug ? @content_type_class . color : 'grey' %> left " data-badge-caption ="<%= tag . tag %> "> </ span >
64+ < span class ="new badge <%= params [ :tag ] == tag . slug ? content . class . color : 'grey' %> left " data-badge-caption ="<%= tag . tag %> "> </ span >
6565 <% end %>
6666 <% end %>
6767 <% end %>
You can’t perform that action at this time.
0 commit comments