Use String.camelize instead of $.camelize

This commit is contained in:
Piotr Sarnacki 2015-02-02 12:07:18 +01:00
parent bf33ffce41
commit a431f80f3a

View File

@ -6,7 +6,7 @@ Controller = Ember.Controller.extend
accountBinding: 'controllers.account'
activate: (action, params) ->
this["view#{$.camelize(action)}"]()
this["view_#{action}".camelize()]()
viewHooks: ->
@connectTab('hooks')