We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42659ab commit 24aaf17Copy full SHA for 24aaf17
src/ServiceProvider.php
@@ -10,6 +10,7 @@
10
*/
11
namespace PCB\Laravel;
12
13
+use PCBLaravel;
14
use Illuminate\Support\Facades\Route;
15
use Illuminate\Foundation\Support\Providers\RouteServiceProvider;
16
@@ -42,7 +43,9 @@ public function boot()
42
43
44
if( \File::exists($plugin_route) )
45
{
- Route::namespace($plugin_namespace)->group($plugin_path. 'routes.php');
46
+ Route::prefix(PCBLaravel::setPrefix())
47
+ ->namespace($plugin_namespace)
48
+ ->group($plugin_path. 'routes.php');
49
}
50
51
0 commit comments