From a431f80f3acf38c6e7b44e07fc3e2e1c5a06dfd1 Mon Sep 17 00:00:00 2001 From: Piotr Sarnacki Date: Mon, 2 Feb 2015 12:07:18 +0100 Subject: [PATCH] Use String.camelize instead of $.camelize --- assets/scripts/app/controllers/profile.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/scripts/app/controllers/profile.coffee b/assets/scripts/app/controllers/profile.coffee index 5b1b4184..f8c9bdcc 100644 --- a/assets/scripts/app/controllers/profile.coffee +++ b/assets/scripts/app/controllers/profile.coffee @@ -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')