Skip to content

Commit

Permalink
Renaming class name for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
nWidart committed Oct 10, 2017
1 parent 3ae3f77 commit 1321a74
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use Modules\User\Permissions\PermissionsAdder;
use Symfony\Component\Console\Input\InputArgument;

class GrantRolePermissionsCommand extends Command
class GrantModulePermissionsCommand extends Command
{
protected $name = 'asgard:user:grant-permissions';
protected $description = 'Grant all the permissions to the admin role of given module';
Expand Down
4 changes: 2 additions & 2 deletions Modules/User/Providers/UserServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use Modules\Core\Events\BuildingSidebar;
use Modules\Core\Traits\CanGetSidebarClassForModule;
use Modules\Core\Traits\CanPublishConfiguration;
use Modules\User\Console\GrantRolePermissionsCommand;
use Modules\User\Console\GrantModulePermissionsCommand;
use Modules\User\Contracts\Authentication;
use Modules\User\Entities\UserToken;
use Modules\User\Events\Handlers\RegisterUserSidebar;
Expand Down Expand Up @@ -68,7 +68,7 @@ public function register()
$this->getSidebarClassForModule('user', RegisterUserSidebar::class)
);
$this->commands([
GrantRolePermissionsCommand::class,
GrantModulePermissionsCommand::class,
]);
}

Expand Down

0 comments on commit 1321a74

Please sign in to comment.