tricknotes / ember-cli-rails

Unify your EmberCLI and Rails Workflows
http://thoughtbot.github.io/ember-cli-rails/
MIT License
713 stars 205 forks source link

Don't route `/rails/info` request to Ember #471

Closed seanpdoyle closed 8 years ago

seanpdoyle commented 8 years ago

Closes #449.

When mounting an Ember CLI app via mount_ember_app, the catch-all routes defined by Ember CLI Rails also catch requests to two of Rails' magic routes:

  1. /rails/info/routes (which is also redirected to from /rails/info)
  2. /rails/info/properties

This adds another constraint to the mounted Ember app that will ignore requests with a path starting with /rails/info.

@stevenharman

stevenharman commented 8 years ago

Ah... I was wondering if this was what you were asking for when you mentioned moving from a lambda to a discrete object. LGTM.