/album -> /gallery

This commit is contained in:
tmshv committed 2015-07-09 05:32:52 +03:00
1 parent eb2aa6d4cf
commit 900f1d4e33
3 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -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
View File
@@ -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:"Работы учащихся"