Refresh page when clicking on sidebar
This commit is contained in:
@@ -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',
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user