Skip to content

Commit

Permalink
Route bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
gdbhosale authored Oct 20, 2016
1 parent c7529cc commit 0277cb1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/routes.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?php

$as = "";
if(\Dwij\Laeditor\Helpers\LAHelper::laravel_ver() == 5.3) {
if(\Dwij\Laraadmin\Helpers\LAHelper::laravel_ver() == 5.3) {
$as = config('laraadmin.adminRoute').'.';
}

Route::group([
'namespace' => 'Dwij\Laraadmin\Controllers',
'namespace' => 'Dwij\Laeditor\Controllers',
'as' => $as,
'middleware' => ['web', 'auth', 'permission:ADMIN_PANEL', 'role:SUPER_ADMIN']
], function () {
Expand Down

0 comments on commit 0277cb1

Please sign in to comment.