about summary refs log tree commit diff
path: root/app/controllers/remote_interaction_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/remote_interaction_controller.rb')
-rw-r--r--app/controllers/remote_interaction_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/remote_interaction_controller.rb b/app/controllers/remote_interaction_controller.rb
index e058d0ed5..51bb9bdea 100644
--- a/app/controllers/remote_interaction_controller.rb
+++ b/app/controllers/remote_interaction_controller.rb
@@ -42,7 +42,7 @@ class RemoteInteractionController < ApplicationController
     @status = Status.find(params[:id])
     authorize @status, :show?
   rescue Mastodon::NotPermittedError
-    raise ActiveRecord::RecordNotFound
+    not_found
   end
 
   def set_body_classes