Apologies for my english,
I am trying to use ember-data with one api and some resources of the api need the auth_code parameter.
example of my router:
@resource 'movies' , ->
@route 'free'
@route 'featured'
@route 'favorites' , path: '/favorites' #favorites need auth_code
@route 'movie', path: '/:movie'
In MoviesFavoritesRouter i have :
model: ->
App.Movie.find()
But how can insert the auth_code param using ember-data ?? or i have to do with jquery?
Ember.$.ajax(url: '/movies/favorites.json', ......, ...... )
thanks in advance