drapergeek/findit

View on GitHub
app/assets/javascripts/controllers/item_controller.js.coffee

Summary

Maintainability
Test Coverage
Findit.ItemController = Ember.ObjectController.extend
  editUrl: (->
    "/items/#{@get('id')}/edit"
  ).property('id')

  printLabelUrl: (->
    "/labels/#{@get('id')}"
  ).property('id')