mercredi 11 novembre 2015

How to pass a rails route through an ember-cli app

I have rails app that has some controllers and views, but it also acts as the API backend for an ember-cli app I have created. My problem is that I need to access a route that is defined in the rails routes.rb but I believe the ember-cli app is preventing this route from being loaded in a web browser.

The rails route looks like the following,

refile_app /attachments #<Refile::App app_file="/Users/myUserName/.rvm/gems/ruby-2.1.5/bundler/gems/refile-373d42114839/lib/refile/app.rb">

Another rails route that isn't loading in the web browser is,

signup GET /signup(.:format) users#new

Basically I need to be able to download an attachment, but I am unable to do so on the production box. Any help would greatly be appreciated.




Aucun commentaire:

Enregistrer un commentaire