engine/app/assets/javascripts/locomotive/models/account.js.coffee

12 lines
249 B
CoffeeScript

class Locomotive.Models.Account extends Backbone.Model
paramRoot: 'account'
urlRoot: "#{Locomotive.mounted_on}/accounts"
class Locomotive.Models.CurrentAccount extends Locomotive.Models.Account
url: "#{Locomotive.mounted_on}/my_account"