From c12c5270fa7c7c2703d73d0a6a8a9ca816314f52 Mon Sep 17 00:00:00 2001 From: Yamagishi Kazutoshi Date: Fri, 13 Oct 2017 16:35:07 +0900 Subject: [PATCH] Set InstancePresenter to `Auth::RegistrationsController#create` (#5366) --- app/controllers/auth/registrations_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/auth/registrations_controller.rb b/app/controllers/auth/registrations_controller.rb index aac3c31ff2..223db96ff2 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