I want something like this in my routes.rb. This isn't at all correct, but something like this:
match '/:scope/authenticate' => '%{:scope}_authentication#create'
So going to /users/authenticate would route to the create method in the users_authenticate controller.
What is the best way to do this in Rails 3?