Changed login controller to use the static /bookings route.

This commit is contained in:
Lukas Halbritter
2019-02-06 15:42:38 +01:00
parent f1944c47df
commit c0b5f36f9b
@@ -26,7 +26,7 @@ class LoginController extends Controller
* *
* @var string * @var string
*/ */
protected $redirectTo; protected $redirectTo = '/bookings';
/** /**
* Create a new controller instance. * Create a new controller instance.
@@ -35,7 +35,6 @@ class LoginController extends Controller
*/ */
public function __construct() public function __construct()
{ {
$this->redirectTo = '/bookings/year-' . date('Y');
$this->middleware('guest')->except('logout'); $this->middleware('guest')->except('logout');
} }