0

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?

nil
  • 2,238
  • 1
  • 19
  • 28

1 Answers1

0

You should create your routes in the engine route file.

Normally you would just add

resources :locations
jokklan
  • 3,520
  • 17
  • 37