aboutsummaryrefslogtreecommitdiff
path: root/javascript/app/router.js
diff options
context:
space:
mode:
authorYuchen Pei <hi@ypei.me>2022-09-19 11:22:21 +1000
committerYuchen Pei <hi@ypei.me>2022-09-19 11:22:21 +1000
commitef1b927861f9a949aed20341144ffb5bfd42f038 (patch)
tree48bd4688928546bedc6504aad76bf6e0327fcef9 /javascript/app/router.js
parent117850d8f659517cb818a857dc04c8f5157795c4 (diff)
Removing the web client
Diffstat (limited to 'javascript/app/router.js')
-rw-r--r--javascript/app/router.js21
1 files changed, 0 insertions, 21 deletions
diff --git a/javascript/app/router.js b/javascript/app/router.js
deleted file mode 100644
index 7b8df63..0000000
--- a/javascript/app/router.js
+++ /dev/null
@@ -1,21 +0,0 @@
-import Ember from 'ember';
-import config from './config/environment';
-
-var Router = Ember.Router.extend({
- location: config.locationType
-});
-
-Router.map(function() {
- this.route('packages',{path:''});
- this.route('search',{path:'/search/:query'});
- this.route('package', {path:'/package/:packageId'}, function() {
- this.route('show',function() {
- this.route('file', {path:'*filePath'}, function() {
- });
- });
- this.route('search',{path:'/search/:query'});
- });
- this.route('bad-url', { path: '/*badurl' });
-});
-
-export default Router;