aboutsummaryrefslogtreecommitdiff
path: root/javascript/app/router.js
diff options
context:
space:
mode:
Diffstat (limited to 'javascript/app/router.js')
-rw-r--r--javascript/app/router.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/javascript/app/router.js b/javascript/app/router.js
index f58e9ab..7fce17a 100644
--- a/javascript/app/router.js
+++ b/javascript/app/router.js
@@ -7,14 +7,15 @@ var Router = Ember.Router.extend({
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' });
+ });
+ this.route('bad-url', { path: '/*badurl' });
});
export default Router;