Browse Source

Set InstancePresenter to `Auth::RegistrationsController#create` (#5366)

pull/4/head
Yamagishi Kazutoshi 6 years ago
committed by Eugen Rochko
parent
commit
dc91fd482a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/controllers/auth/registrations_controller.rb

+ 1
- 1
app/controllers/auth/registrations_controller.rb View File

@ -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

Loading…
Cancel
Save