forked from Archives/Athou_commafeed
about page placeholder
This commit is contained in:
@@ -265,6 +265,9 @@ module.controller('ToolbarCtrl',
|
||||
$scope.toProfile = function() {
|
||||
$location.path('profile');
|
||||
};
|
||||
$scope.toHelp = function() {
|
||||
$state.transitionTo('feeds.help');
|
||||
};
|
||||
});
|
||||
|
||||
module.controller('FeedListCtrl', function($scope, $stateParams, $http, $route,
|
||||
|
||||
@@ -18,6 +18,10 @@ app.config(function($routeProvider, $stateProvider, $urlRouterProvider) {
|
||||
templateUrl : 'templates/feeds.view.html',
|
||||
controller : 'FeedListCtrl'
|
||||
});
|
||||
$stateProvider.state('feeds.help', {
|
||||
url : '/help',
|
||||
templateUrl : 'templates/feeds.help.html'
|
||||
});
|
||||
|
||||
$stateProvider.state('admin', {
|
||||
abstract : true,
|
||||
|
||||
@@ -103,7 +103,7 @@ module.factory('SubscriptionService', function($resource, $http) {
|
||||
|
||||
var res = $resource('rest/subscriptions/:_type/:_method', {}, actions);
|
||||
s.init = function(callback) {
|
||||
res.get(function(data) {
|
||||
s.get(function(data) {
|
||||
s.subscriptions = data;
|
||||
s.flatCategories = flatten(s.subscriptions);
|
||||
if (callback)
|
||||
|
||||
Reference in New Issue
Block a user