Skip to content

Commit

Permalink
Update #3 - Route namespace fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Necko1996 committed Jan 10, 2019
1 parent 1852d74 commit 7debdd5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions routes/routes.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
<?php

Route::group([
'namespace' => 'Paragraf\ViberBot\Http\Controllers',
'middleware' => ['api'],
],
function () {
Route::post('viber-bot', config('viberbot.controller') ? config('viberbot.controller') : 'ViberBotController@index')->name('viber-bot');
Route::post('viber-bot', config('viberbot.controller') ? config('viberbot.controller') : '\Paragraf\ViberBot\Http\Controllers\ViberBotController@index')->name('viber-bot');
}
);

0 comments on commit 7debdd5

Please sign in to comment.