Class: Boxroom::SignupController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- Boxroom::SignupController
- Includes:
- BaseController
- Defined in:
- app/controllers/boxroom/signup_controller.rb
Instance Method Summary collapse
-
#edit ⇒ Object
Note: @user is set in require_valid_token.
-
#update ⇒ Object
Note: @user is set in require_valid_token.
Instance Method Details
#edit ⇒ Object
Note: @user is set in require_valid_token
9 10 |
# File 'app/controllers/boxroom/signup_controller.rb', line 9 def edit end |
#update ⇒ Object
Note: @user is set in require_valid_token
13 14 15 16 17 18 19 |
# File 'app/controllers/boxroom/signup_controller.rb', line 13 def update if @user.update_attributes(permitted_params.user.merge({:password_required => true})) redirect_to new_session_url, :notice => t(:signed_up_successfully) else render :action => 'edit' end end |