davide cucurnia
2024-01-30 9f6455d9b12bda65377e8501e00557982be9ff36
commit | author | age
9f6455 1 <?php
DC 2
3 use Illuminate\Support\Facades\Route;
4
5 /*
6 |--------------------------------------------------------------------------
7 | Web Routes
8 |--------------------------------------------------------------------------
9 |
10 | Here is where you can register web routes for your application. These
11 | routes are loaded by the RouteServiceProvider within a group which
12 | contains the "web" middleware group. Now create something great!
13 |
14 */
15
16 Route::get('/status', function () {
17     return view('welcome');
18 });
19
20 Route::group(['middleware' => ['web']], function () {
21     Route::get('/', 'App\Http\Controllers\Profiles\ProfilesController@getFakeSSO')->name('show_fake_sso');
22     Route::get('/get', 'App\Http\Controllers\Profiles\ProfilesController@getFakeSSO')->name('show_fake_sso');
23     Route::get('/set', 'App\Http\Controllers\Profiles\ProfilesController@getFakeSSO')->name('show_fake_sso');
24
25     Route::post('/set', 'App\Http\Controllers\Profiles\ProfilesController@setFakeSSO')->name('set_fake_sso');
26     Route::post('/clear', 'App\Http\Controllers\Profiles\ProfilesController@clearFakeSSO')->name('clear_fake_sso');
27
28     Route::get('/create-view', 'App\Http\Controllers\Profiles\ProfilesController@createView')->name('create-view');
29 });
30
31 require(dirname(__FILE__) . "/sso.php");
32 require(dirname(__FILE__) . "/picasso.php");