Working on self-hosted

This commit is contained in:
Hillel Coren 2014-07-07 09:45:13 +03:00
parent 7d48d9d138
commit 5821f3542d

View File

@ -22,7 +22,8 @@
//dd(gethostname());
//Log::error('test');
if(Utils::isNinja()) {
//if(Utils::isNinja()) {
Route::get('/', 'HomeController@showWelcome');
Route::get('/rocksteady', 'HomeController@showWelcome');
Route::get('/about', 'HomeController@showAboutUs');
@ -46,11 +47,15 @@ if(Utils::isNinja()) {
Route::post('signup/validate', 'AccountController@checkEmail');
Route::post('signup/submit', 'AccountController@submitSignup');
/*
} else {
Route::get('/', function() {
return Redirect::to('dashboard');
});
}
*/
// Confide routes
Route::get('login', 'UserController@login');