Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
laravel-adminpanel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
laravel-adminpanel
Commits
a772d54a
Unverified
Commit
a772d54a
authored
Mar 13, 2019
by
Viral Solani
Committed by
GitHub
Mar 13, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #368 from viralsolani/analysis-qBjJMr
Apply fixes from StyleCI
parents
e9579009
5207b7f5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
40 additions
and
40 deletions
+40
-40
RoleTableController.php
...p/Controllers/Backend/Access/Role/RoleTableController.php
+1
-1
app.php
config/app.php
+39
-39
No files found.
app/Http/Controllers/Backend/Access/Role/RoleTableController.php
View file @
a772d54a
...
...
@@ -36,7 +36,7 @@ class RoleTableController extends Controller
->
escapeColumns
([
'name'
,
'sort'
])
->
addColumn
(
'permissions'
,
function
(
$role
)
{
if
(
$role
->
all
)
{
return
'<span class="label label-success">'
.
trans
(
'labels.general.all'
)
.
'</span>'
;
return
'<span class="label label-success">'
.
trans
(
'labels.general.all'
)
.
'</span>'
;
}
return
$role
->
permission_name
;
...
...
config/app.php
View file @
a772d54a
...
...
@@ -214,51 +214,51 @@ return [
*/
'aliases'
=>
[
'App'
=>
Illuminate\Support\Facades\App
::
class
,
'Artisan'
=>
Illuminate\Support\Facades\Artisan
::
class
,
'Auth'
=>
Illuminate\Support\Facades\Auth
::
class
,
'Blade'
=>
Illuminate\Support\Facades\Blade
::
class
,
'Broadcast'
=>
Illuminate\Support\Facades\Broadcast
::
class
,
'Bus'
=>
Illuminate\Support\Facades\Bus
::
class
,
'Cache'
=>
Illuminate\Support\Facades\Cache
::
class
,
'Config'
=>
Illuminate\Support\Facades\Config
::
class
,
'Cookie'
=>
Illuminate\Support\Facades\Cookie
::
class
,
'Crypt'
=>
Illuminate\Support\Facades\Crypt
::
class
,
'DB'
=>
Illuminate\Support\Facades\DB
::
class
,
'Eloquent'
=>
Illuminate\Database\Eloquent\Model
::
class
,
'Event'
=>
Illuminate\Support\Facades\Event
::
class
,
'File'
=>
Illuminate\Support\Facades\File
::
class
,
'Gate'
=>
Illuminate\Support\Facades\Gate
::
class
,
'Hash'
=>
Illuminate\Support\Facades\Hash
::
class
,
'Lang'
=>
Illuminate\Support\Facades\Lang
::
class
,
'Log'
=>
Illuminate\Support\Facades\Log
::
class
,
'Mail'
=>
Illuminate\Support\Facades\Mail
::
class
,
'App'
=>
Illuminate\Support\Facades\App
::
class
,
'Artisan'
=>
Illuminate\Support\Facades\Artisan
::
class
,
'Auth'
=>
Illuminate\Support\Facades\Auth
::
class
,
'Blade'
=>
Illuminate\Support\Facades\Blade
::
class
,
'Broadcast'
=>
Illuminate\Support\Facades\Broadcast
::
class
,
'Bus'
=>
Illuminate\Support\Facades\Bus
::
class
,
'Cache'
=>
Illuminate\Support\Facades\Cache
::
class
,
'Config'
=>
Illuminate\Support\Facades\Config
::
class
,
'Cookie'
=>
Illuminate\Support\Facades\Cookie
::
class
,
'Crypt'
=>
Illuminate\Support\Facades\Crypt
::
class
,
'DB'
=>
Illuminate\Support\Facades\DB
::
class
,
'Eloquent'
=>
Illuminate\Database\Eloquent\Model
::
class
,
'Event'
=>
Illuminate\Support\Facades\Event
::
class
,
'File'
=>
Illuminate\Support\Facades\File
::
class
,
'Gate'
=>
Illuminate\Support\Facades\Gate
::
class
,
'Hash'
=>
Illuminate\Support\Facades\Hash
::
class
,
'Lang'
=>
Illuminate\Support\Facades\Lang
::
class
,
'Log'
=>
Illuminate\Support\Facades\Log
::
class
,
'Mail'
=>
Illuminate\Support\Facades\Mail
::
class
,
'Notification'
=>
Illuminate\Support\Facades\Notification
::
class
,
'Password'
=>
Illuminate\Support\Facades\Password
::
class
,
'Queue'
=>
Illuminate\Support\Facades\Queue
::
class
,
'Redirect'
=>
Illuminate\Support\Facades\Redirect
::
class
,
'Redis'
=>
Illuminate\Support\Facades\Redis
::
class
,
'Request'
=>
Illuminate\Support\Facades\Request
::
class
,
'Response'
=>
Illuminate\Support\Facades\Response
::
class
,
'Route'
=>
Illuminate\Support\Facades\Route
::
class
,
'Schema'
=>
Illuminate\Support\Facades\Schema
::
class
,
'Session'
=>
Illuminate\Support\Facades\Session
::
class
,
'Storage'
=>
Illuminate\Support\Facades\Storage
::
class
,
'URL'
=>
Illuminate\Support\Facades\URL
::
class
,
'Validator'
=>
Illuminate\Support\Facades\Validator
::
class
,
'View'
=>
Illuminate\Support\Facades\View
::
class
,
'Password'
=>
Illuminate\Support\Facades\Password
::
class
,
'Queue'
=>
Illuminate\Support\Facades\Queue
::
class
,
'Redirect'
=>
Illuminate\Support\Facades\Redirect
::
class
,
'Redis'
=>
Illuminate\Support\Facades\Redis
::
class
,
'Request'
=>
Illuminate\Support\Facades\Request
::
class
,
'Response'
=>
Illuminate\Support\Facades\Response
::
class
,
'Route'
=>
Illuminate\Support\Facades\Route
::
class
,
'Schema'
=>
Illuminate\Support\Facades\Schema
::
class
,
'Session'
=>
Illuminate\Support\Facades\Session
::
class
,
'Storage'
=>
Illuminate\Support\Facades\Storage
::
class
,
'URL'
=>
Illuminate\Support\Facades\URL
::
class
,
'Validator'
=>
Illuminate\Support\Facades\Validator
::
class
,
'View'
=>
Illuminate\Support\Facades\View
::
class
,
/*
* Third Party Aliases
*/
'Active'
=>
HieuLe\Active\Facades\Active
::
class
,
'Active'
=>
HieuLe\Active\Facades\Active
::
class
,
'Breadcrumbs'
=>
DaveJamesMiller\Breadcrumbs\Facade
::
class
,
'Captcha'
=>
Arcanedev\NoCaptcha\Facades\NoCaptcha
::
class
,
'Form'
=>
Collective\Html\FormFacade
::
class
,
'Gravatar'
=>
Creativeorange\Gravatar\Facades\Gravatar
::
class
,
'Html'
=>
Collective\Html\HtmlFacade
::
class
,
'Socialite'
=>
Laravel\Socialite\Facades\Socialite
::
class
,
'JWTAuth'
=>
Tymon\JWTAuth\Facades\JWTAuth
::
class
,
'Captcha'
=>
Arcanedev\NoCaptcha\Facades\NoCaptcha
::
class
,
'Form'
=>
Collective\Html\FormFacade
::
class
,
'Gravatar'
=>
Creativeorange\Gravatar\Facades\Gravatar
::
class
,
'Html'
=>
Collective\Html\HtmlFacade
::
class
,
'Socialite'
=>
Laravel\Socialite\Facades\Socialite
::
class
,
'JWTAuth'
=>
Tymon\JWTAuth\Facades\JWTAuth
::
class
,
//'Datatables' => Yajra\DataTables\Facades\DataTables::class
],
];
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment