How to call the custom routes in rails s code example Example: how to generate a controller in a nested route rails rails g controller api/v1/reviews