Skip to content

Instantly share code, notes, and snippets.

@MarkPochert
Created January 26, 2011 13:43
Show Gist options
  • Save MarkPochert/796696 to your computer and use it in GitHub Desktop.
Save MarkPochert/796696 to your computer and use it in GitHub Desktop.
resources :users do
get :confirm_email
end
#####
user_confirm_email GET /users/:user_id/confirm_email(.:format) {:action=>"confirm_email", :controller=>"users"}
#####
get :confirm_email, :edit_email_token => @confirmed_user.email_token, :new_email => @confirmed_user.new_email
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment