sign_up: display procedure context if available
This commit is contained in:
parent
4fd9fa6610
commit
ae763d93f3
5 changed files with 34 additions and 16 deletions
|
@ -1,10 +1,9 @@
|
|||
class Users::RegistrationsController < Devise::RegistrationsController
|
||||
include ProcedureContextConcern
|
||||
|
||||
# before_action :configure_sign_up_params, only: [:create]
|
||||
# before_action :configure_account_update_params, only: [:update]
|
||||
|
||||
# def after_sign_up_path_for(resource_or_scope)
|
||||
# super
|
||||
# end
|
||||
before_action :restore_procedure_context, only: [:new, :create]
|
||||
|
||||
layout 'procedure_context', only: [:new, :create]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue