summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/controllers
diff options
context:
space:
mode:
authormo <mokha@cisco.com>2017-09-02 15:53:55 -0600
committermo <mokha@cisco.com>2017-09-02 15:53:55 -0600
commit69a79609d7dacf25682ed3d899bbc4ea57502401 (patch)
tree6eab23b03c86554cc74821ca7a462d483c20795f /app/assets/javascripts/controllers
parent3512ca46969571a629602a26ed997ae837574ad8 (diff)
move bonebone code for my/* to my/* namespace.
Diffstat (limited to 'app/assets/javascripts/controllers')
-rw-r--r--app/assets/javascripts/controllers/my/cakes_controller.js.coffee (renamed from app/assets/javascripts/controllers/cakes_controller.js.coffee)4
-rw-r--r--app/assets/javascripts/controllers/my/dashboard_controller.js.coffee (renamed from app/assets/javascripts/controllers/dashboard_controller.js.coffee)2
-rw-r--r--app/assets/javascripts/controllers/my/profile_controller.js.coffee (renamed from app/assets/javascripts/controllers/profile_controller.js.coffee)4
-rw-r--r--app/assets/javascripts/controllers/my/tutorials_controller.js.coffee (renamed from app/assets/javascripts/controllers/tutorials_controller.js.coffee)4
4 files changed, 7 insertions, 7 deletions
diff --git a/app/assets/javascripts/controllers/cakes_controller.js.coffee b/app/assets/javascripts/controllers/my/cakes_controller.js.coffee
index 3167248b..6a56d6bc 100644
--- a/app/assets/javascripts/controllers/cakes_controller.js.coffee
+++ b/app/assets/javascripts/controllers/my/cakes_controller.js.coffee
@@ -1,5 +1,5 @@
-class CakeSide.Controllers.CakesController extends Marionette.Controller
- views: CakeSide.Views.Cakes
+class CakeSide.Controllers.My.CakesController extends Marionette.Controller
+ views: CakeSide.Views.My.Cakes
initialize: (options) ->
@content_region = CakeSide.Application.content_region
@cakes = CakeSide.Application.request('CakesRepository')
diff --git a/app/assets/javascripts/controllers/dashboard_controller.js.coffee b/app/assets/javascripts/controllers/my/dashboard_controller.js.coffee
index 23169914..734aedc9 100644
--- a/app/assets/javascripts/controllers/dashboard_controller.js.coffee
+++ b/app/assets/javascripts/controllers/my/dashboard_controller.js.coffee
@@ -1,4 +1,4 @@
-class CakeSide.Controllers.DashboardController extends Marionette.Controller
+class CakeSide.Controllers.My.DashboardController extends Marionette.Controller
initialize: (options) ->
#@comment_view = CakeSide.Application.request('CommentView')
diff --git a/app/assets/javascripts/controllers/profile_controller.js.coffee b/app/assets/javascripts/controllers/my/profile_controller.js.coffee
index c8577e2a..c429c035 100644
--- a/app/assets/javascripts/controllers/profile_controller.js.coffee
+++ b/app/assets/javascripts/controllers/my/profile_controller.js.coffee
@@ -1,5 +1,5 @@
-class CakeSide.Controllers.ProfileController extends Marionette.Controller
- views: CakeSide.Views.Profiles
+class CakeSide.Controllers.My.ProfileController extends Marionette.Controller
+ views: CakeSide.Views.My.Profiles
initialize: (options) ->
@content_region = CakeSide.Application.content_region
#@comment_view = CakeSide.Application.request('CommentView')
diff --git a/app/assets/javascripts/controllers/tutorials_controller.js.coffee b/app/assets/javascripts/controllers/my/tutorials_controller.js.coffee
index 732bea3e..dcee92d5 100644
--- a/app/assets/javascripts/controllers/tutorials_controller.js.coffee
+++ b/app/assets/javascripts/controllers/my/tutorials_controller.js.coffee
@@ -1,5 +1,5 @@
-class CakeSide.Controllers.TutorialsController extends Marionette.Controller
- views: CakeSide.Views.Tutorials
+class CakeSide.Controllers.My.TutorialsController extends Marionette.Controller
+ views: CakeSide.Views.My.Tutorials
initialize: (options) ->
@content_region = CakeSide.Application.content_region
@tutorials = CakeSide.Application.request('TutorialsRepository')