Send only reporters frame on frame requests
This commit is contained in:
parent
28c581307e
commit
ff3d04a100
1 changed files with 2 additions and 0 deletions
|
@ -18,6 +18,8 @@ module Issues
|
|||
:users => User.in_order_of(:id, user_ids)
|
||||
}
|
||||
}
|
||||
|
||||
render :partial => "reporters", :locals => { :issue => @issue } if turbo_frame_request?
|
||||
rescue ActiveRecord::RecordNotFound
|
||||
redirect_to :controller => "/errors", :action => "not_found"
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue