Skip to content
This repository has been archived by the owner on Aug 21, 2018. It is now read-only.

Commit

Permalink
add change state after create new SPA
Browse files Browse the repository at this point in the history
  • Loading branch information
hadi committed Jan 24, 2018
1 parent b2558ca commit d7c014e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Spa/SPA/Manager/Remote.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ public function states($spa)
*/
public static function install($request, $object)
{
Spa_Service::installFromRepository($objec->id);
$spa = Spa_Service::installFromRepository($object->id);
return Spa_Shortcuts_SpaManager($spa)->apply($spa, 'create');
}
}

0 comments on commit d7c014e

Please sign in to comment.