summaryrefslogtreecommitdiffstats
path: root/js/app/Config.js
diff options
context:
space:
mode:
authorAurélien <dav.aurelien@gmail.com>2021-01-26 14:41:46 +0100
committerSean Molenaar <SMillerDev@users.noreply.github.com>2021-04-08 22:31:21 +0200
commit6ebe676911584bf86d246c4656d42a176f08f242 (patch)
tree7d0e572e46f2dfe80c2f363dc561fc590b3f584f /js/app/Config.js
parent08171bb42de718cda797462b9f5de029ce82afb9 (diff)
add root for access shared items
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
Diffstat (limited to 'js/app/Config.js')
-rw-r--r--js/app/Config.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/js/app/Config.js b/js/app/Config.js
index f7c62e7ae..8ac503b44 100644
--- a/js/app/Config.js
+++ b/js/app/Config.js
@@ -191,6 +191,12 @@ app.config(function ($routeProvider, $provide, $httpProvider, $locationProvider)
resolve: getItemResolve(feedType.STARRED),
type: feedType.STARRED
})
+ .when('/items/shared', {
+ controller: 'ContentController as Content',
+ templateUrl: 'content.html',
+ resolve: getItemResolve(feedType.SHARED),
+ type: feedType.SHARED
+ })
.when('/items/unread', {
controller: 'ContentController as Content',
templateUrl: 'content.html',