diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2020-05-03 16:30:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-03 16:30:36 +0200 |
commit | 988b0493fea7a850130b83d0e81675bda8dd9d8e (patch) | |
tree | 0d9cdb503c8f0fe131e01cfdbf61ab85dcd1f296 /app/controllers/remote_interaction_controller.rb | |
parent | a1062df1e1bc15d32a3afe3054d1e0063a4beb93 (diff) |
Add more tests for ActivityPub controllers (#13585)
Diffstat (limited to 'app/controllers/remote_interaction_controller.rb')
-rw-r--r-- | app/controllers/remote_interaction_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/remote_interaction_controller.rb b/app/controllers/remote_interaction_controller.rb index 4073e7ac3..3b9202a5c 100644 --- a/app/controllers/remote_interaction_controller.rb +++ b/app/controllers/remote_interaction_controller.rb @@ -41,7 +41,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 |