diff options
Diffstat (limited to 'js/app')
-rw-r--r-- | js/app/Config.js | 6 | ||||
-rw-r--r-- | js/app/Run.js | 4 |
2 files changed, 10 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', diff --git a/js/app/Run.js b/js/app/Run.js index 1a1572864..6aa79f7dd 100644 --- a/js/app/Run.js +++ b/js/app/Run.js @@ -45,6 +45,10 @@ app.run(function ($rootScope, $location, $http, $q, $interval, $route, Loading, url = '/items/starred'; break; + case FEED_TYPE.SHARED: + url = '/items/shared'; + break; + case FEED_TYPE.EXPLORE: url = '/explore'; break; |