Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Platform
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Platform
Commits
e6c63e91
Commit
e6c63e91
authored
Feb 15, 2015
by
Nicolas Widart
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove laravel controllers
parent
68983bd6
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
0 additions
and
159 deletions
+0
-159
AuthController.php
app/Http/Controllers/Auth/AuthController.php
+0
-38
PasswordController.php
app/Http/Controllers/Auth/PasswordController.php
+0
-38
Controller.php
app/Http/Controllers/Controller.php
+0
-11
HomeController.php
app/Http/Controllers/HomeController.php
+0
-36
WelcomeController.php
app/Http/Controllers/WelcomeController.php
+0
-36
No files found.
app/Http/Controllers/Auth/AuthController.php
deleted
100644 → 0
View file @
68983bd6
<?php
namespace
App\Http\Controllers\Auth
;
use
App\Http\Controllers\Controller
;
use
Illuminate\Contracts\Auth\Guard
;
use
Illuminate\Contracts\Auth\Registrar
;
use
Illuminate\Foundation\Auth\AuthenticatesAndRegistersUsers
;
class
AuthController
extends
Controller
{
/*
|--------------------------------------------------------------------------
| Registration & Login Controller
|--------------------------------------------------------------------------
|
| This controller handles the registration of new users, as well as the
| authentication of existing users. By default, this controller uses
| a simple trait to add these behaviors. Why don't you explore it?
|
*/
use
AuthenticatesAndRegistersUsers
;
/**
* Create a new authentication controller instance.
*
* @param \Illuminate\Contracts\Auth\Guard $auth
* @param \Illuminate\Contracts\Auth\Registrar $registrar
* @return void
*/
public
function
__construct
(
Guard
$auth
,
Registrar
$registrar
)
{
$this
->
auth
=
$auth
;
$this
->
registrar
=
$registrar
;
$this
->
middleware
(
'guest'
,
[
'except'
=>
'getLogout'
]);
}
}
app/Http/Controllers/Auth/PasswordController.php
deleted
100644 → 0
View file @
68983bd6
<?php
namespace
App\Http\Controllers\Auth
;
use
App\Http\Controllers\Controller
;
use
Illuminate\Contracts\Auth\Guard
;
use
Illuminate\Contracts\Auth\PasswordBroker
;
use
Illuminate\Foundation\Auth\ResetsPasswords
;
class
PasswordController
extends
Controller
{
/*
|--------------------------------------------------------------------------
| Password Reset Controller
|--------------------------------------------------------------------------
|
| This controller is responsible for handling password reset requests
| and uses a simple trait to include this behavior. You're free to
| explore this trait and override any methods you wish to tweak.
|
*/
use
ResetsPasswords
;
/**
* Create a new password controller instance.
*
* @param \Illuminate\Contracts\Auth\Guard $auth
* @param \Illuminate\Contracts\Auth\PasswordBroker $passwords
* @return void
*/
public
function
__construct
(
Guard
$auth
,
PasswordBroker
$passwords
)
{
$this
->
auth
=
$auth
;
$this
->
passwords
=
$passwords
;
$this
->
middleware
(
'guest'
);
}
}
app/Http/Controllers/Controller.php
deleted
100644 → 0
View file @
68983bd6
<?php
namespace
App\Http\Controllers
;
use
Illuminate\Foundation\Bus\DispatchesCommands
;
use
Illuminate\Routing\Controller
as
BaseController
;
use
Illuminate\Foundation\Validation\ValidatesRequests
;
abstract
class
Controller
extends
BaseController
{
use
DispatchesCommands
,
ValidatesRequests
;
}
app/Http/Controllers/HomeController.php
deleted
100644 → 0
View file @
68983bd6
<?php
namespace
App\Http\Controllers
;
class
HomeController
extends
Controller
{
/*
|--------------------------------------------------------------------------
| Home Controller
|--------------------------------------------------------------------------
|
| This controller renders your application's "dashboard" for users that
| are authenticated. Of course, you are free to change or remove the
| controller as you wish. It is just here to get your app started!
|
*/
/**
* Create a new controller instance.
*
* @return void
*/
public
function
__construct
()
{
$this
->
middleware
(
'auth'
);
}
/**
* Show the application dashboard to the user.
*
* @return Response
*/
public
function
index
()
{
return
view
(
'home'
);
}
}
app/Http/Controllers/WelcomeController.php
deleted
100644 → 0
View file @
68983bd6
<?php
namespace
App\Http\Controllers
;
class
WelcomeController
extends
Controller
{
/*
|--------------------------------------------------------------------------
| Welcome Controller
|--------------------------------------------------------------------------
|
| This controller renders the "marketing page" for the application and
| is configured to only allow guests. Like most of the other sample
| controllers, you are free to modify or remove it as you desire.
|
*/
/**
* Create a new controller instance.
*
* @return void
*/
public
function
__construct
()
{
$this
->
middleware
(
'guest'
);
}
/**
* Show the application welcome screen to the user.
*
* @return Response
*/
public
function
index
()
{
return
view
(
'welcome'
);
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment