fix route pengumuman
This commit is contained in:
parent
aa86766800
commit
43a61488c0
|
@ -114,7 +114,7 @@ class="dropdown-btn w-full text-left p-2 bg-gray-100 rounded-lg flex justify-bet
|
|||
<li><a href="{{ route('bel.index') }}"
|
||||
class="block p-2 rounded-lg {{ request()->is('admin/bel') ? 'bg-blue-100 text-blue-600' : 'bg-gray-50 text-gray-800' }}">Bel</a>
|
||||
</li>
|
||||
<li><a href="{{ route('announcement.index') }}"
|
||||
<li><a href="{{ route('admin.announcement.index') }}"
|
||||
class="block p-2 rounded-lg {{ request()->is('admin/pengumuman') ? 'bg-blue-100 text-blue-600' : 'bg-gray-50 text-gray-800' }}">Pengumuman</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
|
@ -108,12 +108,9 @@
|
|||
|
||||
// Announcement System
|
||||
Route::prefix('announcement')->controller(AnnouncementController::class)->group(function () {
|
||||
Route::get('/', 'index')->name('announcement.index');
|
||||
Route::post('/', 'store')->name('announcement.store');
|
||||
Route::get('/history', 'history')->name('announcement.history');
|
||||
Route::get('/{announcement}', 'show')->name('announcement.show');
|
||||
Route::delete('/{announcement}', 'destroy')->name('announcement.destroy');
|
||||
Route::post('/tts-preview', 'ttsPreview')->name('announcement.tts-preview');
|
||||
Route::get('/', 'index')->name('admin.announcement.index');
|
||||
Route::get('/history', 'history')->name('admin.announcement.history');
|
||||
Route::post('/', 'store')->name('admin.announcement.store');
|
||||
});
|
||||
});
|
||||
});
|
Loading…
Reference in New Issue