summaryrefslogtreecommitdiffstats
path: root/module/web/app/scripts/routers/defaultRouter.js
diff options
context:
space:
mode:
Diffstat (limited to 'module/web/app/scripts/routers/defaultRouter.js')
-rw-r--r--module/web/app/scripts/routers/defaultRouter.js30
1 files changed, 0 insertions, 30 deletions
diff --git a/module/web/app/scripts/routers/defaultRouter.js b/module/web/app/scripts/routers/defaultRouter.js
deleted file mode 100644
index 4b00d160c..000000000
--- a/module/web/app/scripts/routers/defaultRouter.js
+++ /dev/null
@@ -1,30 +0,0 @@
-define(['jquery', 'backbone', 'views/headerView'], function($, Backbone, HeaderView) {
- 'use strict';
-
- var Router = Backbone.Router.extend({
-
- initialize: function() {
- Backbone.history.start();
- },
-
- // All of your Backbone Routes (add more)
- routes: {
-
- // When there is no hash bang on the url, the home method is called
- '': 'home'
-
- },
-
- 'home': function() {
- // Instantiating mainView and anotherView instances
- var headerView = new HeaderView();
-
- // Renders the mainView template
- headerView.render();
-
- }
- });
-
- // Returns the Router class
- return Router;
-}); \ No newline at end of file