Skip to content

Commit

Permalink
skip acl checking if running as console command
Browse files Browse the repository at this point in the history
  • Loading branch information
uyab committed Dec 22, 2015
1 parent 53728e3 commit cd42d73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ public function boot(Gate $gate)
$this->registerSeeds();
$this->registerConfigurations();

//if (!$this->app->runningInConsole()) {
if (!$this->app->runningInConsole()) {
$this->registerAcl($gate);
//}
}

$this->registerCommands();
}
Expand Down

0 comments on commit cd42d73

Please sign in to comment.