Answers for "how to see route name in controller rails"

2

rails get current path

request.url
# => "http://localhost:3000/lists/7/items"
request.path
# => "/lists/7/items"
Posted by: Guest on April-14-2020
0

how to generate a controller in a nested route rails

rails g controller api/v1/reviews
Posted by: Guest on December-02-2020

Code answers related to "how to see route name in controller rails"

Browse Popular Code Answers by Language