This commit is contained in:
albert
2013-03-21 17:08:46 -07:00
parent 8f6fdc73af
commit 65b5159197
3 changed files with 7 additions and 5 deletions

View File

@@ -17,9 +17,11 @@
<%= link_to(tag.name, posts_path(:tags => tag.name)) %>
</td>
<td>
<%= link_to "edit", edit_tag_path(tag) %>
<% if tag.post_count < 1_000 %>
| <%= link_to "fix", new_tag_correction_path(:tag_id => tag.id) %>
<% if CurrentUser.is_builder? %>
<%= link_to "edit", edit_tag_path(tag) %>
<% if tag.post_count < 1_000 %>
| <%= link_to "fix", new_tag_correction_path(:tag_id => tag.id) %>
<% end %>
<% end %>
</td>
</tr>