Completed
Push — master ( 30ea98...ad161f )
by Jake
02:20
created

AuthController::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 3
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace MeestorHok\Blue\Http\Controllers;
4
5
use Illuminate\Routing\Controller;
6
use Auth;
7
8
class AuthController extends Controller
9
{
10
    public function __construct () {
11
        $this->middleware('guest');
12
    }
13
    
14
    public function showLoginForm () {
15
        return view('Blue::auth.login');
16
    }
17
    
18
    public function postLoginForm () {
19
        return 'Posted!';
20
    }
21
    
22
    public function showRegisterForm () {
23
        return view('Blue::auth.register');
24
    }
25
    
26
    public function postRegisterForm () {
27
        return 'Posted!';
28
    }
29
}