Created
November 15, 2012 19:00
-
-
Save arn-e/4080487 to your computer and use it in GitHub Desktop.
routes catch all
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
MusicService::Application.routes.draw do | |
resources :albums | |
resources :artists | |
resources :songs | |
match ':artist_name' => 'artists#search_by_artist' | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment