diff options
author | Yamagishi Kazutoshi <ykzts@desire.sh> | 2017-10-13 16:35:07 +0900 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-10-13 09:35:07 +0200 |
commit | dc91fd482a65cca24ae6f66f92e8e924124fce43 (patch) | |
tree | f5eaed6aedd20c52162ef4e33cef755c7c161ceb /app/controllers/auth/registrations_controller.rb | |
parent | b8bae9664711f99bfb438687ff3b4b396db69924 (diff) |
Set InstancePresenter to `Auth::RegistrationsController#create` (#5366)
Diffstat (limited to 'app/controllers/auth/registrations_controller.rb')
-rw-r--r-- | app/controllers/auth/registrations_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |