Last active
August 29, 2015 13:56
-
-
Save Lordnibbler/9025817 to your computer and use it in GitHub Desktop.
This file contains 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
create_index GET /messages/support/warranty(.:format) messages#index │· | |
GET /messages/support/register(.:format) messages#index │· | |
GET /messages/support/exchange(.:format) messages#index │· | |
GET /messages/support/contact-us(.:format) messages#index │· | |
POST /messages(.:format) messages#create |
This file contains 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, only: [:create], as: 'create' do | |
collection do | |
get 'index', path: '/support/warranty' | |
get 'index', path: '/support/register' | |
get 'index', path: '/support/exchange' | |
get 'index', path: '/support/contact-us' | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment