Web.Admin/AdminApp/Controllers/controller.tournament.js
Function tournamentController
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var tournamentController = function ($http, $q, $location, dataService) {
var url = $location.absUrl();
var lastSlash = url.lastIndexOf('/');
var year = url.slice(lastSlash + 1);