Commit 4803d6c8 authored by Taylor Otwell's avatar Taylor Otwell

Moe default requests.

parent a9c9b202
<?php namespace App\Http\Controllers; <?php namespace App\Http\Controllers\Auth;
use App\User; use App\User;
use App\Http\Controllers\Controller;
use Illuminate\Contracts\Auth\Guard; use Illuminate\Contracts\Auth\Guard;
use App\Http\Requests\Auth\LoginRequest;
use App\Http\Requests\LoginRequest; use App\Http\Requests\Auth\RegisterRequest;
use App\Http\Requests\RegisterRequest;
class AuthController extends Controller { class AuthController extends Controller {
......
<?php namespace App\Http\Controllers; <?php namespace App\Http\Controllers\Auth;
use App\User; use App\User;
use Illuminate\Http\Request; use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use Illuminate\Contracts\Auth\Guard; use Illuminate\Contracts\Auth\Guard;
use Illuminate\Contracts\Auth\PasswordBroker; use Illuminate\Contracts\Auth\PasswordBroker;
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
......
<?php namespace App\Http\Requests; <?php namespace App\Http\Requests\Auth;
use App\Http\Requests\Request;
class LoginRequest extends Request { class LoginRequest extends Request {
......
<?php namespace App\Http\Requests; <?php namespace App\Http\Requests\Auth;
use App\Http\Requests\Request;
class RegisterRequest extends Request { class RegisterRequest extends Request {
......
...@@ -27,6 +27,6 @@ $router->get('/dashboard', 'DashboardController@index'); ...@@ -27,6 +27,6 @@ $router->get('/dashboard', 'DashboardController@index');
*/ */
$router->controllers([ $router->controllers([
'auth' => 'AuthController', 'auth' => 'Auth\AuthController',
'password' => 'PasswordController', 'password' => 'Auth\PasswordController',
]); ]);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment