From: Yamagishi Kazutoshi Date: Fri, 13 Oct 2017 07:35:07 +0000 (+0900) Subject: Set InstancePresenter to `Auth::RegistrationsController#create` (#5366) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=dc91fd482a65cca24ae6f66f92e8e924124fce43;p=mastodon.git Set InstancePresenter to `Auth::RegistrationsController#create` (#5366) --- diff --git a/app/controllers/auth/registrations_controller.rb b/app/controllers/auth/registrations_controller.rb index aac3c31ff..223db96ff 100644 --- a/app/controllers/auth/registrations_controller.rb +++ b/app/controllers/auth/registrations_controller.rb @@ -6,7 +6,7 @@ class Auth::RegistrationsController < Devise::RegistrationsController before_action :check_enabled_registrations, only: [:new, :create] before_action :configure_sign_up_params, only: [:create] before_action :set_sessions, only: [:edit, :update] - before_action :set_instance_presenter, only: [:new, :update] + before_action :set_instance_presenter, only: [:new, :create, :update] def destroy not_found