Skip to content

Redirecting / Rendering Ember route links in Rails codebase #585

@ritikesh

Description

@ritikesh

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions