diff options
| author | mo <mo.khan@gmail.com> | 2017-09-24 18:14:52 -0600 |
|---|---|---|
| committer | mo <mo.khan@gmail.com> | 2017-09-24 18:14:52 -0600 |
| commit | 12f86f741b1f77370e6aa447592b2783ee39bb0c (patch) | |
| tree | a90b87178a93fe480cfb50575857e38acd149d86 /app/assets/javascripts/controllers | |
| parent | 8b662ee9be76c9a7e6fa65f5fd160c2b015e478b (diff) | |
remove the profiles collection.
Diffstat (limited to 'app/assets/javascripts/controllers')
| -rw-r--r-- | app/assets/javascripts/controllers/my/profile_controller.js.coffee | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/assets/javascripts/controllers/my/profile_controller.js.coffee b/app/assets/javascripts/controllers/my/profile_controller.js.coffee index fdf1fa0d..f5795e0f 100644 --- a/app/assets/javascripts/controllers/my/profile_controller.js.coffee +++ b/app/assets/javascripts/controllers/my/profile_controller.js.coffee @@ -5,8 +5,7 @@ class csx.Controllers.My.ProfileController extends Marionette.Controller show: (id) -> @selectTab() - profile = new csx.Models.Profile - id: id + profile = new csx.Models.Profile(id: id) profile.fetch success: => @content_region.show(new @views.ShowView(model: profile)) |
