Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redirecting / Rendering Ember route links in Rails codebase #585

Open
ritikesh opened this issue May 7, 2020 · 0 comments
Open

Redirecting / Rendering Ember route links in Rails codebase #585

ritikesh opened this issue May 7, 2020 · 0 comments

Comments

@ritikesh
Copy link

ritikesh commented May 7, 2020

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:

  1. 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
  2. Extending the addressable gem to generate routes

What would your suggestion be for the same?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant