Created
December 4, 2013 14:39
-
-
Save kylemacey/7788491 to your computer and use it in GitHub Desktop.
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
namespace :taco do | |
resources :ingredients do | |
get :search1, on: :member | |
resource :search2, only: :show | |
end | |
end | |
search1_taco_ingredient GET /taco/ingredients/:id/search1(.:format) taco/ingredients#search1 | |
taco_ingredient_search2 GET /taco/ingredients/:ingredient_id/search2(.:format) taco/search2s#show |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment