修改项目tag删除判断错误

This commit is contained in:
huang 2015-03-20 16:12:46 +08:00
parent 99dd66d8de
commit ec8b7e4128
1 changed files with 2 additions and 2 deletions

View File

@ -38,8 +38,8 @@
<% if (ProjectInfo.find_by_project_id(obj.id)).try(:user_id) == User.current.id %>
<%= link_to 'x', :controller => "tags", :action => "remove_tag", :remote => true, :tag_name => tag,
:taggable_id => obj.id, :taggable_type => object_flag %>
</span>
<% end %>
<% end %>
</span>
<% else %>
<div id="tag">
<span class="tag_show">