Created
June 26, 2012 06:08
-
-
Save almaron/2993686 to your computer and use it in GitHub Desktop.
Routes.rb
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
resources :messages, :except => ["index"] do | |
collection do | |
get "/inbox", :to => "messages#inbox" | |
get "/outbox", :to => "messages#outbox" | |
get "/notify", :to => "messages#notify" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
resources :messages, :except => ["index"] do
collection do
get :inbox
get :outbox
get :notify
end
end