Skip to content

Commit

Permalink
Merge branch '2.1' into 2.2
Browse files Browse the repository at this point in the history
Signed-off-by: crynobone <crynobone@gmail.com>
  • Loading branch information
crynobone committed Jul 4, 2014
2 parents a41a4ff + 72897e8 commit 8cfaa28
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion docs/changes.md
Expand Up @@ -5,14 +5,21 @@ title: View Change Log

## Version 2.2 {#v2-2}

### v2.2.0 {#v2-2-0}
### v2.2.1 {#v2-2-1}

* Fixes invalid theme name when activating a theme using `php artisan theme:activate` command.

### v2.2.0 {#v2-2-0}

* Bump minimum version to PHP v5.4.0.
* Add `php artisan theme:detect` and `php artisan theme:activate` command.

## Version 2.1 {#v2-1}

### v2.1.3 {#v2-1-3}

* Fixes invalid theme name when activating a theme using `php artisan theme:activate` command.

### v2.1.2 {#v2-1-2}

* Add `php artisan theme:detect` and `php artisan theme:activate` command.
Expand Down
2 changes: 1 addition & 1 deletion src/View/Console/ActivateCommand.php
Expand Up @@ -59,7 +59,7 @@ public function fire()
throw new \InvalidArgumentException("Invalid Theme ID [{$id}].");
}

$this->laravel['orchestra.memory']->set("site.theme.{$group}", $themes[$id]->name);
$this->laravel['orchestra.memory']->set("site.theme.{$group}", $themes[$id]->uid);
$this->info("Theme [{$themes[$id]->name}] activated on group [{$group}].");
}

Expand Down

0 comments on commit 8cfaa28

Please sign in to comment.