jadjoubran/laravel5-angular-material-starter

View on GitHub
angular/config/routes.config.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function RoutesConfig has 58 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function RoutesConfig($stateProvider, $urlRouterProvider) {
    'ngInject';

    let getView = (viewName) => {
        return `./views/app/pages/${viewName}/${viewName}.page.html`;
Severity: Major
Found in angular/config/routes.config.js - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status