parent
3a6b6c63f2
commit
f51c7c105f
3 changed files with 40 additions and 11 deletions
|
@ -39,7 +39,6 @@ class RemoteInteractionController < ApplicationController
|
|||
@status = Status.find(params[:id])
|
||||
authorize @status, :show?
|
||||
rescue Mastodon::NotPermittedError
|
||||
# Reraise in order to get a 404
|
||||
raise ActiveRecord::RecordNotFound
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue