33 lines
1.1 KiB
PHP
33 lines
1.1 KiB
PHP
<?php
|
|
|
|
Route::group(['middleware' => ['auth'], 'prefix' => 'user'], function () {
|
|
Route::get('/', 'UserController@index')->name('guru');
|
|
Route::prefix('account')->group(function () {
|
|
Route::get('/', 'UserController@profil');
|
|
Route::post('update', 'UserController@update');
|
|
});
|
|
|
|
Route::get('profil-sekolah', 'ContentController@profil_sekolah');
|
|
Route::prefix('papan-informasi')->group(function () {
|
|
Route::get('/', 'ContentController@papan_informasi');
|
|
});
|
|
Route::get('p/{id}', 'ContentController@detail_informasi');
|
|
Route::get('galeri', 'ContentController@galeri');
|
|
|
|
Route::get('siswa', 'UserController@siswa');
|
|
Route::get('guru', 'ContentController@guru');
|
|
Route::get('jadwal', 'JadwalController@index');
|
|
Route::post('kritik', 'UserController@kritik');
|
|
|
|
Route::prefix('kuesioner')->group(function () {
|
|
Route::get('/', 'KuesionerController@index');
|
|
Route::post('store', 'KuesionerController@store');
|
|
});
|
|
|
|
Route::prefix('ppdb')->group(function () {
|
|
Route::get('/', 'PpdbController@index');
|
|
Route::post('store', 'PpdbController@store');
|
|
});
|
|
});
|
|
|