Files
w4rpservices/routes/web.php
2018-10-15 21:57:18 -05:00

33 lines
1.1 KiB
PHP

<?php
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/
Route::get('/', function () {
return view('welcome');
});
Auth::routes();
Route::get('/login', 'Auth\LoginController@redirectToProvider');
Route::get('/callback', 'Auth\LoginController@handleProviderCallback');
Route::get('/dashboard', 'DashboardController@index');
Route::get('/dashboard/addmoon', 'DashboardController@addMoon');
Route::get('/dashboard/updatemoon', 'DashboardController@updateMoon');
Route::get('/dashboard/moons', 'DashboardController@displayMoons');
Route::get('/dashboard/profile', 'DashboardController@profile');
//Route::get('/callback', 'DashboardController@callback');
Route::get('/dashboard/moonmine/display', 'MoonsController@moonminedisplay');
Route::post('moonmine', 'MoonsController@moonmine');
Route::post('moons', 'MoonsController@addMoon');