configure restful routes in rails -
i trying create restful web service in rails application. need configure restful routes below.
localhost:3000/books/<book_name>/new/<parameters create book item> eg: http://localhost:3000/books/sherlock/new/id/123/business/<bu>/.../{other parameters} how configure in routes , access params in controller. please help.
this technique called "route globbing". http://guides.rubyonrails.org/routing.html#route-globbing-and-wildcard-segments
however, if - i'd used "default" query params. many reasons.
Comments
Post a Comment