mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Working on self-hosted
This commit is contained in:
parent
7d48d9d138
commit
5821f3542d
@ -22,7 +22,8 @@
|
|||||||
//dd(gethostname());
|
//dd(gethostname());
|
||||||
//Log::error('test');
|
//Log::error('test');
|
||||||
|
|
||||||
if(Utils::isNinja()) {
|
//if(Utils::isNinja()) {
|
||||||
|
|
||||||
Route::get('/', 'HomeController@showWelcome');
|
Route::get('/', 'HomeController@showWelcome');
|
||||||
Route::get('/rocksteady', 'HomeController@showWelcome');
|
Route::get('/rocksteady', 'HomeController@showWelcome');
|
||||||
Route::get('/about', 'HomeController@showAboutUs');
|
Route::get('/about', 'HomeController@showAboutUs');
|
||||||
@ -46,11 +47,15 @@ if(Utils::isNinja()) {
|
|||||||
|
|
||||||
Route::post('signup/validate', 'AccountController@checkEmail');
|
Route::post('signup/validate', 'AccountController@checkEmail');
|
||||||
Route::post('signup/submit', 'AccountController@submitSignup');
|
Route::post('signup/submit', 'AccountController@submitSignup');
|
||||||
|
|
||||||
|
/*
|
||||||
} else {
|
} else {
|
||||||
Route::get('/', function() {
|
Route::get('/', function() {
|
||||||
return Redirect::to('dashboard');
|
return Redirect::to('dashboard');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
// Confide routes
|
// Confide routes
|
||||||
Route::get('login', 'UserController@login');
|
Route::get('login', 'UserController@login');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user