Server based Gallery
This commit is contained in:
1 parent
3a6440e5b0
commit
2aa46f3d04
6 files changed
+83
-76
No files matched your search
@@ -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>',
|
||||
|
||||
Reference in new issue
Block a user