diff --git a/members/static/js/members_routers.js b/members/static/js/members_routers.js index ba21248..49fc3d5 100644 --- a/members/static/js/members_routers.js +++ b/members/static/js/members_routers.js @@ -4,11 +4,11 @@ app.config(['$routeProvider', function($routeProvider){ templateUrl:"/static/html/jasenlista.html", controller:'getController', }) - .when('/list',{ + .when('/list/',{ templateUrl:"/static/html/jasenlista.html", controller:'getController', }) - .when('/add',{ + .when('/add/',{ templateUrl:"/static/html/lisaa_jasen.html", controller:'postController', }) @@ -16,7 +16,7 @@ app.config(['$routeProvider', function($routeProvider){ templateUrl:"/static/html/muokkaa_jasenta.html", controller:'editController', }) - .when('/applications',{ + .when('/applications/',{ templateUrl:"/static/html/jasenhakemukset.html", controller:'applController', }) @@ -24,7 +24,7 @@ app.config(['$routeProvider', function($routeProvider){ templateUrl:"/static/html/muokkaa_jasenta.html", controller:'appleditController', }) - .when('/addmany',{ + .when('/addmany/',{ templateUrl:"/static/html/lisaa_jasenia.html", controller:'addManyController', })