Use alias when appropriate.
This commit is contained in:
parent
8e0b2e9fb3
commit
b21ceadc63
|
@ -1,6 +1,6 @@
|
|||
Travis.reopen
|
||||
ApplicationView: Travis.View.extend
|
||||
templateName: (-> @get 'controller.templateName' ).property('controller.templateName')
|
||||
templateName: Ember.computed.alias('controller.templateName')
|
||||
classNames: ['application']
|
||||
|
||||
templateNameDidChange: (->
|
||||
|
|
Loading…
Reference in New Issue
Block a user