diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2020-12-14 01:41:13 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2021-02-16 03:33:32 +0100 |
commit | dd512c140bee24446d1ddab901d04b51a72a2d86 (patch) | |
tree | c1e2d1beb1058ccc395d65fe586929b4de8add55 /app/controllers/authorize_interactions_controller.rb | |
parent | 9c273c2a59755a46ff3933470b02df857537a4af (diff) | |
download | mastodon-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.rb | 2 |
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 |