/album -> /gallery
This commit is contained in:
1 parent
eb2aa6d4cf
commit
900f1d4e33
3 files changed
+4
-4
No files matched your search
@@ -11,7 +11,7 @@ APIGallery.prototype.year = function(year) {
|
||||
};
|
||||
|
||||
APIGallery.prototype.album = function(year, course, album) {
|
||||
var url = '/album/{year}/{course}/{album}'
|
||||
var url = '/gallery/{year}/{course}/{album}'
|
||||
.replace('{year}', year)
|
||||
.replace('{course}', course)
|
||||
.replace('{album}', album);
|
||||
|
||||
+1
-1
@@ -40,7 +40,7 @@ app.config(function ($locationProvider, $routeProvider) {
|
||||
title:"Работы учащихся"
|
||||
},
|
||||
{
|
||||
name: "/album/:year/:course/:album",
|
||||
name: "/gallery/:year/:course/:album",
|
||||
templateUrl: "/views/gallery-album.html",
|
||||
controller: "AlbumPageController",
|
||||
title:"Работы учащихся"
|
||||
|
||||
Reference in new issue
Block a user