Skip to content

Instantly share code, notes, and snippets.

@hinke
Created January 13, 2011 17:51
Show Gist options
  • Save hinke/778276 to your computer and use it in GitHub Desktop.
Save hinke/778276 to your computer and use it in GitHub Desktop.
Before:
new_user_registration GET /signup(.:format) {:action=>"new", :controller=>"invited_registrations"}
user_registration POST /signup(.:format) {:action=>"create", :controller=>"invited_registrations"}
complete_signup GET /signup/complete(.:format) {:action=>"new", :controller=>"registrations"}
complete_signup POST /signup/complete(.:format) {:action=>"create", :controller=>"registrations"}
After:
new_user_registration GET /signup(.:format) {:action=>"new", :controller=>"invited_registrations"}
POST /signup(.:format) {:action=>"create", :controller=>"invited_registrations"}
complete_signup GET /signup/complete(.:format) {:action=>"new", :controller=>"registrations"}
POST /signup/complete(.:format) {:action=>"create", :controller=>"registrations"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment