mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
16 lines
739 B
PHP
16 lines
739 B
PHP
<?php
|
|
|
|
Route::get('client/login', 'Auth\ContactLoginController@showLoginForm')->name('client.login');
|
|
Route::post('client/login', 'Auth\ContactLoginController@login')->name('client.login.submit');
|
|
|
|
//todo implement domain DB
|
|
//Route::group(['middleware' => ['auth:contact', 'domain_db'], 'prefix' => 'client', 'as' => 'client.'], function () {
|
|
Route::group(['middleware' => ['auth:contact'], 'prefix' => 'client', 'as' => 'client.'], function () {
|
|
|
|
Route::get('dashboard', 'ClientPortal\DashboardController@index')->name('dashboard'); // name = (dashboard. index / create / show / update / destroy / edit
|
|
|
|
Route::get('logout', 'Auth\ContactLoginController@logout')->name('logout');
|
|
|
|
});
|
|
|
|
Route::fallback('BaseController@notFoundClient'); |