Skip to content

Commit 28975f6

Browse files
committed
Update api.php
1 parent 1e0b39c commit 28975f6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

routes/api.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
Route::controller(TranslationController::class)
1010
->as('translations.')
1111
->prefix(config('translations-api.route_prefix'))
12+
->middleware(config('translations-api.middleware'))
1213
->group(function () {
1314
Route::get('/', 'index')->name('index');
1415
Route::delete('delete/{translation}', 'delete')->name('delete');

0 commit comments

Comments
 (0)