From dc91fd482a65cca24ae6f66f92e8e924124fce43 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 aac3c31ff29..223db96ff24 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