Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
syncEnrollments
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
Yeray Santana Hualde
syncEnrollments
Commits
4803d6c8
Commit
4803d6c8
authored
Nov 24, 2014
by
Taylor Otwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moe default requests.
parent
a9c9b202
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
14 additions
and
9 deletions
+14
-9
AuthController.php
app/Http/Controllers/Auth/AuthController.php
+4
-4
PasswordController.php
app/Http/Controllers/Auth/PasswordController.php
+2
-1
.gitkeep
app/Http/Requests/.gitkeep
+0
-0
LoginRequest.php
app/Http/Requests/Auth/LoginRequest.php
+3
-1
RegisterRequest.php
app/Http/Requests/Auth/RegisterRequest.php
+3
-1
routes.php
app/Http/routes.php
+2
-2
No files found.
app/Http/Controllers/AuthController.php
→
app/Http/Controllers/Auth
/Auth
Controller.php
View file @
4803d6c8
<?php
namespace
App\Http\Controllers
;
<?php
namespace
App\Http\Controllers
\Auth
;
use
App\User
;
use
App\Http\Controllers\Controller
;
use
Illuminate\Contracts\Auth\Guard
;
use
App\Http\Requests\LoginRequest
;
use
App\Http\Requests\RegisterRequest
;
use
App\Http\Requests\Auth\LoginRequest
;
use
App\Http\Requests\Auth\RegisterRequest
;
class
AuthController
extends
Controller
{
...
...
app/Http/Controllers/PasswordController.php
→
app/Http/Controllers/
Auth/
PasswordController.php
View file @
4803d6c8
<?php
namespace
App\Http\Controllers
;
<?php
namespace
App\Http\Controllers
\Auth
;
use
App\User
;
use
Illuminate\Http\Request
;
use
App\Http\Controllers\Controller
;
use
Illuminate\Contracts\Auth\Guard
;
use
Illuminate\Contracts\Auth\PasswordBroker
;
use
Symfony\Component\HttpKernel\Exception\NotFoundHttpException
;
...
...
app/Http/Requests/.gitkeep
deleted
100644 → 0
View file @
a9c9b202
app/Http/Requests/LoginRequest.php
→
app/Http/Requests/
Auth/
LoginRequest.php
View file @
4803d6c8
<?php
namespace
App\Http\Requests
;
<?php
namespace
App\Http\Requests\Auth
;
use
App\Http\Requests\Request
;
class
LoginRequest
extends
Request
{
...
...
app/Http/Requests/RegisterRequest.php
→
app/Http/Requests/
Auth/
RegisterRequest.php
View file @
4803d6c8
<?php
namespace
App\Http\Requests
;
<?php
namespace
App\Http\Requests\Auth
;
use
App\Http\Requests\Request
;
class
RegisterRequest
extends
Request
{
...
...
app/Http/routes.php
View file @
4803d6c8
...
...
@@ -27,6 +27,6 @@ $router->get('/dashboard', 'DashboardController@index');
*/
$router
->
controllers
([
'auth'
=>
'AuthController'
,
'password'
=>
'PasswordController'
,
'auth'
=>
'Auth
\Auth
Controller'
,
'password'
=>
'
Auth\
PasswordController'
,
]);
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