Completed
Push — master ( 8f935b...b02015 )
by ARCANEDEV
11:51
created

SpammersRoutes::map()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

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