Commit 7a2bb295dba7fec6c5d6be965a447ce0fd416131

Authored by Victor Costa
1 parent 4ac4b39b
Exists in master and in 1 other branch dev-fixes

Remove unused parameters

src/app/index.run.js
... ... @@ -6,8 +6,8 @@
6 6 .run(runBlock);
7 7  
8 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 11 if(Session.getCurrentUser()) {
12 12 headers['Private-Token'] = Session.getCurrentUser().private_token;
13 13 }
... ...
src/app/profile/profile.controller.js
... ... @@ -7,7 +7,7 @@
7 7  
8 8  
9 9 /** @ngInject */
10   - function ProfileController(noosfero, $log, $stateParams, $http) {
  10 + function ProfileController(noosfero, $log, $stateParams) {
11 11 var vm = this;
12 12 vm.boxes = [];
13 13 activate();
... ...
src/index.html
1 1 <!doctype html>
2 2 <html ng-app="angular">
3 3 <head>
4   - <base href="/test">
  4 + <base href="/">
5 5 <meta charset="utf-8">
6 6 <title>angular</title>
7 7 <meta name="description" content="">
... ...