How would you recommend accessing ember URIs within the rails codebase like controllers/helpers/views? Currently, we have some ember routes that are getting scattered across the codebase and this is bound to increase as the adoption for ember increases in our product until we fully migrate to ember.
I was thinking of 2 ways to do this:
- Leveraging the rails router itself to generate named routes that can be added when mounting the ember app - I started meddling with the code and made some changes but wanted to get your opinion before proceeding on this line
- Extending the addressable gem to generate routes
What would your suggestion be for the same?