Completed
Push — master ( 389031...756eed )
by ARCANEDEV
9s
created

DashboardController::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
dl 0
loc 6
ccs 0
cts 5
cp 0
rs 9.4285
c 1
b 0
f 0
cc 1
eloc 3
nc 1
nop 0
crap 2
1
<?php namespace Arcanesoft\Seo\Http\Controllers\Admin;
2
3
/**
4
 * Class     DashboardController
5
 *
6
 * @package  Arcanesoft\Seo\Http\Controllers\Admin
7
 * @author   ARCANEDEV <[email protected]>
8
 */
9
class DashboardController extends Controller
10
{
11
    /* ------------------------------------------------------------------------------------------------
12
     |  Constructor
13
     | ------------------------------------------------------------------------------------------------
14
     */
15
    /**
16
     * DashboardController constructor.
17
     */
18
    public function __construct()
19
    {
20
        parent::__construct();
21
22
        $this->setCurrentPage('seo-dashboard');
23
    }
24
25
    /* ------------------------------------------------------------------------------------------------
26
     |  Main Functions
27
     | ------------------------------------------------------------------------------------------------
28
     */
29
    public function index()
30
    {
31
        $this->setTitle('Seo');
32
33
        return $this->view('admin.dashboard');
34
    }
35
}
36