diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-05-14 18:54:22 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-05-14 18:54:22 +0200 |
| commit | e79bdedb819415792eea49de7483885046d2a368 (patch) | |
| tree | 9931fa389c1459347593155dd09a7c2cf3ecc009 /public/assets/js/lib/router.js | |
| parent | afd20e776ba207be9c4a00d29cb61dd3ea760eef (diff) | |
change password form working
Diffstat (limited to 'public/assets/js/lib/router.js')
| -rw-r--r-- | public/assets/js/lib/router.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/public/assets/js/lib/router.js b/public/assets/js/lib/router.js index 9ac6336..b6eff73 100644 --- a/public/assets/js/lib/router.js +++ b/public/assets/js/lib/router.js @@ -25,6 +25,7 @@ var SiteRouter = Router.extend({ "/profile": 'profile', "/profile/:username": 'profile', "/profile/:username/edit": 'editProfile', + "/adminz": 'adminz', }, initialize: function(){ @@ -103,6 +104,11 @@ var SiteRouter = Router.extend({ app.view = new SearchResults () app.view.load() }, + + adminz: function(){ + app.view = new AdminView () + app.view.load() + }, error404: function(){ $("content").hide() |
