Module: Clearance::App::Controllers::ConfirmationsController::PrivateInstanceMethods
- Defined in:
- lib/clearance/app/controllers/confirmations_controller.rb
Instance Method Summary collapse
Instance Method Details
#existing_user? ⇒ Boolean
31 32 33 34 35 36 |
# File 'lib/clearance/app/controllers/confirmations_controller.rb', line 31 def existing_user? user = User.find_by_id_and_salt(params[:user_id], params[:salt]) if user.nil? render :nothing => true, :status => :not_found end end |
#url_after_create ⇒ Object
38 39 40 |
# File 'lib/clearance/app/controllers/confirmations_controller.rb', line 38 def url_after_create root_url end |