aboutsummaryrefslogtreecommitdiff
path: root/app/controllers/authorize_interactions_controller.rb
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2020-12-14 01:41:13 +0100
committerEugen Rochko <eugen@zeonfederated.com>2021-02-16 03:33:32 +0100
commitdd512c140bee24446d1ddab901d04b51a72a2d86 (patch)
treec1e2d1beb1058ccc395d65fe586929b4de8add55 /app/controllers/authorize_interactions_controller.rb
parent9c273c2a59755a46ff3933470b02df857537a4af (diff)
downloadmastodon-feature-unify-uis.tar
mastodon-feature-unify-uis.tar.gz
mastodon-feature-unify-uis.tar.bz2
mastodon-feature-unify-uis.zip
Diffstat (limited to 'app/controllers/authorize_interactions_controller.rb')
-rw-r--r--app/controllers/authorize_interactions_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/authorize_interactions_controller.rb b/app/controllers/authorize_interactions_controller.rb
index 29c0288d0..1d519c96f 100644
--- a/app/controllers/authorize_interactions_controller.rb
+++ b/app/controllers/authorize_interactions_controller.rb
@@ -13,7 +13,7 @@ class AuthorizeInteractionsController < ApplicationController
if @resource.is_a?(Account)
render :show
elsif @resource.is_a?(Status)
- redirect_to web_url("statuses/#{@resource.id}")
+ redirect_to short_account_status_path(@resource.account.acct, @resource.id)
else
render :error
end