Created
July 1, 2016 12:17
-
-
Save Circuit8/649c6668f40e8d2b15e74b69a87e924f to your computer and use it in GitHub Desktop.
Revisions
-
Circuit8 revised this gist
Jul 1, 2016 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@ api GET /api/products/:id/fabrics(.:format) api/fabrics#index {:format=>:json} -
Circuit8 created this gist
Jul 1, 2016 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,3 @@ namespace :api do get 'products/:custom_id/fabrics', to: 'fabrics#index', defaults: { format: :json } end