Commit 7a2bb295dba7fec6c5d6be965a447ce0fd416131
1 parent
4ac4b39b
Exists in
master
and in
1 other branch
Remove unused parameters
Showing
3 changed files
with
4 additions
and
4 deletions
Show diff stats
src/app/index.run.js
@@ -6,8 +6,8 @@ | @@ -6,8 +6,8 @@ | ||
6 | .run(runBlock); | 6 | .run(runBlock); |
7 | 7 | ||
8 | /** @ngInject */ | 8 | /** @ngInject */ |
9 | - function runBlock($log, Restangular, Session, AuthService) { | ||
10 | - Restangular.addFullRequestInterceptor(function(element, operation, route, url, headers, params, httpConfig) { | 9 | + function runBlock($log, Restangular, Session) { |
10 | + Restangular.addFullRequestInterceptor(function(element, operation, route, url, headers) { | ||
11 | if(Session.getCurrentUser()) { | 11 | if(Session.getCurrentUser()) { |
12 | headers['Private-Token'] = Session.getCurrentUser().private_token; | 12 | headers['Private-Token'] = Session.getCurrentUser().private_token; |
13 | } | 13 | } |
src/app/profile/profile.controller.js
@@ -7,7 +7,7 @@ | @@ -7,7 +7,7 @@ | ||
7 | 7 | ||
8 | 8 | ||
9 | /** @ngInject */ | 9 | /** @ngInject */ |
10 | - function ProfileController(noosfero, $log, $stateParams, $http) { | 10 | + function ProfileController(noosfero, $log, $stateParams) { |
11 | var vm = this; | 11 | var vm = this; |
12 | vm.boxes = []; | 12 | vm.boxes = []; |
13 | activate(); | 13 | activate(); |
src/index.html
1 | <!doctype html> | 1 | <!doctype html> |
2 | <html ng-app="angular"> | 2 | <html ng-app="angular"> |
3 | <head> | 3 | <head> |
4 | - <base href="/test"> | 4 | + <base href="/"> |
5 | <meta charset="utf-8"> | 5 | <meta charset="utf-8"> |
6 | <title>angular</title> | 6 | <title>angular</title> |
7 | <meta name="description" content=""> | 7 | <meta name="description" content=""> |