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\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 {
......
<?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;
......
<?php namespace App\Http\Requests;
<?php namespace App\Http\Requests\Auth;
use App\Http\Requests\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 {
......
......@@ -27,6 +27,6 @@ $router->get('/dashboard', 'DashboardController@index');
*/
$router->controllers([
'auth' => 'AuthController',
'password' => 'PasswordController',
'auth' => 'Auth\AuthController',
'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