I'm trying to reuse a refinery engine on another page in refinery. In the routes.rb i've included:
match 'locations/:location_id/' => "locations/#index"
What is the right way to do this?
I'm trying to reuse a refinery engine on another page in refinery. In the routes.rb i've included:
match 'locations/:location_id/' => "locations/#index"
What is the right way to do this?
Copyright © 2021 Jogjafile Inc.
You should create your routes in the engine route file.
Normally you would just add