Fix account subscribes and follow tag
This commit is contained in:
parent
c400d63b06
commit
5f115f45e5
2 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@ class Settings::AccountSubscribesController < Settings::BaseController
|
||||||
|
|
||||||
def create
|
def create
|
||||||
@form_account_subscribing = Form::AccountSubscribe.new(account_subscribe_params)
|
@form_account_subscribing = Form::AccountSubscribe.new(account_subscribe_params)
|
||||||
target_account = AccountSubscribeService.new.call(current_account, @form_account_subscribing.acct, @form_account_subscribing.show_reblogs, @form_account_subscribing.list_id)
|
target_account = AccountSubscribeService.new.call(current_account, @form_account_subscribing.acct, { show_reblogs: @form_account_subscribing.show_reblogs, list_id: @form_account_subscribing.list_id })
|
||||||
|
|
||||||
if target_account
|
if target_account
|
||||||
redirect_to settings_account_subscribes_path
|
redirect_to settings_account_subscribes_path
|
||||||
|
|
|
@ -32,7 +32,7 @@ class Settings::FollowTagsController < Settings::BaseController
|
||||||
|
|
||||||
def update
|
def update
|
||||||
if @follow_tag.update(follow_tag_params)
|
if @follow_tag.update(follow_tag_params)
|
||||||
redirect_to settings_follow_tag_path
|
redirect_to settings_follow_tags_path
|
||||||
else
|
else
|
||||||
render action: :edit
|
render action: :edit
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue