diff options
Diffstat (limited to 'server/sonar-web/src/main/js/apps/computation/router.js')
-rw-r--r-- | server/sonar-web/src/main/js/apps/computation/router.js | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/server/sonar-web/src/main/js/apps/computation/router.js b/server/sonar-web/src/main/js/apps/computation/router.js deleted file mode 100644 index a7543e934a5..00000000000 --- a/server/sonar-web/src/main/js/apps/computation/router.js +++ /dev/null @@ -1,28 +0,0 @@ -import Backbone from 'backbone'; - -export default Backbone.Router.extend({ - routes: { - '': 'index', - 'index': 'index', - 'current': 'current', - 'past': 'past' - }, - - initialize: function (options) { - this.options = options; - }, - - index: function () { - this.navigate('current'); - this.current(); - }, - - current: function () { - this.options.reports.fetch({ q: 'queue' }); - }, - - past: function () { - this.options.reports.fetch({ q: 'activity' }); - } -}); - |