User app fixes for cors and data origin
This commit is contained in:
@@ -24,8 +24,11 @@ App.ApplicationSerializer = DS.ActiveModelSerializer.extend
|
||||
|
||||
App.ApplicationStore = DS.Store.extend
|
||||
adapter: DS.RESTAdapter.extend
|
||||
host: $data_host
|
||||
namespace: 'user'
|
||||
# user underscored paths
|
||||
pathForType: (type)->
|
||||
decamelized = Ember.String.decamelize(type)
|
||||
Ember.String.pluralize(decamelized)
|
||||
headers:
|
||||
Accept: 'application/json'
|
||||
|
||||
Reference in New Issue
Block a user