commit: dc91fd482a65cca24ae6f66f92e8e924124fce43
parent: b8bae9664711f99bfb438687ff3b4b396db69924
Author: Yamagishi Kazutoshi <ykzts@desire.sh>
Date: Fri, 13 Oct 2017 16:35:07 +0900
Set InstancePresenter to `Auth::RegistrationsController#create` (#5366)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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