10 lines
425 B
CoffeeScript
10 lines
425 B
CoffeeScript
App.SettingsController = Ember.ObjectController.extend
|
|
needs: ['application']
|
|
model: (-> @get('controllers.application.supplier')).property('controllers.application.supplier')
|
|
time_zones: (-> window.time_zones ).property()
|
|
countries: (-> window.countries ).property()
|
|
editIensProfile: (-> @get('model.country') is 'Netherlands' ).property('model.country')
|
|
actions:
|
|
saveSettings: ->
|
|
@get('model').save()
|