Server based Gallery

This commit is contained in:
tmshv committed 2017-05-25 21:49:40 +03:00
1 parent 3a6440e5b0
commit 2aa46f3d04
6 files changed
+83 -76

No files matched your search

-10
View File
@@ -116,16 +116,6 @@ app.config(($locationProvider, $routeProvider) => {
}
}
},
{
name: '/gallery',
template: '<page-gallery albums="$resolve.list"></page-gallery>',
title: 'Работы учащихся',
resolve: {
list: api => api.album
.list()
.then(i => i.data)
}
},
{
name: '/awards',
template: '<page-awards items="$resolve.awards"></page-awards>',