Skip to content
This repository has been archived by the owner on Apr 5, 2022. It is now read-only.

Commit

Permalink
[Fix] errors on install -> 1.1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
MrJuliuss committed Oct 9, 2013
1 parent b86f326 commit c8259e6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
18 changes: 9 additions & 9 deletions src/commands/InstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,15 @@ public function fire()
{
$this->info('## Syntara Install ##');

// publish sentry config
$this->call('config:publish', array('package' => 'cartalyst/sentry' ) );

// publish syntara config
$this->call('config:publish', array('package' => 'mrjuliuss/syntara' ) );

// publish syntara assets
$this->call('asset:publish', array('package' => 'mrjuliuss/syntara' ) );

// run migrations
$this->call('migrate', array('--env' => $this->option('env'), '--package' => 'cartalyst/sentry' ) );
$this->call('migrate', array('--env' => $this->option('env'), '--package' => 'mrjuliuss/syntara' ) );
Expand All @@ -64,14 +73,5 @@ public function fire()
{
$this->info('"Admin" group already exists');
}

// publish sentry config
$this->call('config:publish', array('package' => 'cartalyst/sentry' ) );

// publish syntara config
$this->call('config:publish', array('package' => 'mrjuliuss/syntara' ) );

// publish syntara assets
$this->call('asset:publish', array('package' => 'mrjuliuss/syntara' ) );
}
}
2 changes: 1 addition & 1 deletion src/models/Permissions/PermissionProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class PermissionProvider
*/
public function createPermission($attributes)
{
$validator = Validator::make($attributes, Config::get('syntara::rules.permissions.create'));
$validator = Validator::make($attributes, Config::get('syntara::validator.permissions.create'));

if(!$validator->fails())
{
Expand Down

0 comments on commit c8259e6

Please sign in to comment.