修复点击某些贴吧提示数据不存在的404page not found bug
This commit is contained in:
parent
a7e066add8
commit
4ed9b13f0b
|
@ -71,8 +71,8 @@
|
|||
|
||||
<% end %>
|
||||
<% when '5' %>
|
||||
<% if Forum.find(params[:id]) %>
|
||||
<% if Forum.find(params[:id]).creator_id == User.current.id %>
|
||||
<% if Forum.find(obj.id) %>
|
||||
<% if Forum.find(obj.id).creator_id == User.current.id %>
|
||||
<span class='del'> <%= link_to 'x', :controller => "tags", :action => "remove_tag", :remote => true, :tag_name => tag,
|
||||
:taggable_id => obj.id, :taggable_type => object_flag %> </span>
|
||||
|
||||
|
|
Loading…
Reference in New Issue