diff options
| author | mo <mo.khan@gmail.com> | 2017-09-08 23:05:16 -0600 |
|---|---|---|
| committer | mo <mo.khan@gmail.com> | 2017-09-08 23:05:16 -0600 |
| commit | 5fea9fe92676b3025a63a70da2e28c2d6918a0ce (patch) | |
| tree | 3a5f48558e6b0928456ac5bb7e482386387d20ff /app | |
| parent | 4de9afbac60c41e141e133d45e9f4331e7b814fc (diff) | |
fix js bugs.
Diffstat (limited to 'app')
| -rw-r--r-- | app/assets/javascripts/controllers/my/dashboard_controller.js.coffee | 1 | ||||
| -rw-r--r-- | app/views/my/kitchens/show.html.erb | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/app/assets/javascripts/controllers/my/dashboard_controller.js.coffee b/app/assets/javascripts/controllers/my/dashboard_controller.js.coffee index dac1447c..0b36e204 100644 --- a/app/assets/javascripts/controllers/my/dashboard_controller.js.coffee +++ b/app/assets/javascripts/controllers/my/dashboard_controller.js.coffee @@ -1 +1,2 @@ class csx.Controllers.My.DashboardController extends Marionette.Controller + index: -> { } diff --git a/app/views/my/kitchens/show.html.erb b/app/views/my/kitchens/show.html.erb index 92724690..f241562f 100644 --- a/app/views/my/kitchens/show.html.erb +++ b/app/views/my/kitchens/show.html.erb @@ -2,7 +2,7 @@ <%= content_for :javascript do -%> <%= javascript_tag do %> var ALL_TAGS = <%= raw @tags.pluck(:name) %>; - CakeSide.initialize({ access_token: '<%= current_user.authentication_token %>' }); + csx.initialize({ access_token: '<%= current_user.authentication_token %>' }); <% end %> <% end %> |
