mirror of
https://git.victorphan.net/basketballcantho/Teedy_custom.git
synced 2026-08-06 14:13:11 +07:00
Document sharing (client), better state handling for file view
This commit is contained in:
@@ -31,6 +31,22 @@ var App = angular.module('share',
|
||||
controller: 'Share'
|
||||
}
|
||||
}
|
||||
})
|
||||
.state('share.file', {
|
||||
url: '/file/:fileId',
|
||||
views: {
|
||||
'file': {
|
||||
controller: 'FileView'
|
||||
}
|
||||
}
|
||||
})
|
||||
.state('403', {
|
||||
url: '/403',
|
||||
views: {
|
||||
'page': {
|
||||
templateUrl: 'partial/share/403.html'
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
// Configuring Restangular
|
||||
|
||||
Reference in New Issue
Block a user