Fix account subscribes and follow tag

This commit is contained in:
noellabo 2020-07-15 11:27:18 +09:00
parent c400d63b06
commit 5f115f45e5
2 changed files with 2 additions and 2 deletions

View file

@ -16,7 +16,7 @@ class Settings::AccountSubscribesController < Settings::BaseController
def create
@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
redirect_to settings_account_subscribes_path

View file

@ -32,7 +32,7 @@ class Settings::FollowTagsController < Settings::BaseController
def update
if @follow_tag.update(follow_tag_params)
redirect_to settings_follow_tag_path
redirect_to settings_follow_tags_path
else
render action: :edit
end