import Ember from 'ember'
export default Ember.Route.extend
  actions:
    newTrackerSubject: ->
      tracker_subject = @store.createRecord 'panda/tracker-subject'
      @modal "edit-tracker-subject",
        model: tracker_subject
        title: t('action.new_model', model: t('models.tracker_subject'))

    editTrackerSubject: (tracker_subject)->
      @modal 'edit-tracker-subject',
        model: tracker_subject
