summaryrefslogtreecommitdiffstats
path: root/module/web/app/scripts/router.js
diff options
context:
space:
mode:
Diffstat (limited to 'module/web/app/scripts/router.js')
-rw-r--r--module/web/app/scripts/router.js29
1 files changed, 0 insertions, 29 deletions
diff --git a/module/web/app/scripts/router.js b/module/web/app/scripts/router.js
deleted file mode 100644
index 68ea5575d..000000000
--- a/module/web/app/scripts/router.js
+++ /dev/null
@@ -1,29 +0,0 @@
-/**
- * Router defines routes that are handled by registered controller
- */
-define([
- // Libraries
- 'backbone',
- 'marionette',
-
- // Modules
- 'controller'
-],
- function(Backbone, Marionette, Controller) {
- 'use strict';
-
- return Backbone.Marionette.AppRouter.extend({
-
- appRoutes: {
- '': 'dashboard',
- 'login': 'login',
- 'logout': 'logout',
- 'settings': 'settings',
- 'accounts': 'accounts',
- 'admin': 'admin'
- },
-
- // Our controller to handle the routes
- controller: Controller
- });
- });