Completed
Push — master ( 6afbe3...49fc1c )
by ARCANEDEV
05:32
created

SettingsRoutes::map()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
cc 1
eloc 4
c 0
b 0
f 0
nc 1
nop 0
dl 0
loc 7
ccs 0
cts 7
cp 0
crap 2
rs 9.4285
1
<?php namespace Arcanesoft\Foundation\Http\Routes\Admin;
2
3
use Arcanedev\Support\Routing\RouteRegistrar;
4
5
/**
6
 * Class     SettingsRoutes
7
 *
8
 * @package  Arcanesoft\Foundation\Http\Routes\Admin
9
 * @author   ARCANEDEV <[email protected]>
10
 */
11
class SettingsRoutes extends RouteRegistrar
12
{
13
    /* ------------------------------------------------------------------------------------------------
14
     |  Main Functions
15
     | ------------------------------------------------------------------------------------------------
16
     */
17
    /**
18
     * Map routes.
19
     */
20
    public function map()
21
    {
22
        $this->prefix('settings')->name('settings.')->group(function () {
23
            $this->get('/', 'SettingsController@index')
24
                 ->name('index'); // admin::foundation.settings.index
25
        });
26
    }
27
}
28