Skip to content

Commit

Permalink
added session array
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc Cámara committed Feb 18, 2015
1 parent a24fa7c commit a8c5e08
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"keywords": ["localization", "laravel", "php"],
"homepage": "https://github.com/mcamara/laravel-localization",
"license": "MIT",
"version": "1.0.5",
"version": "1.0.6",
"authors": [
{
"name": "Marc Cámara",
Expand Down
2 changes: 1 addition & 1 deletion src/Mcamara/LaravelLocalization/LaravelLocalization.php
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ protected function storeSession( $locale )
{
if ( $this->useSessionLocale() )
{
session($this->cookieSessionName, $locale);
session([ $this->cookieSessionName => $locale ]);
}
}

Expand Down

0 comments on commit a8c5e08

Please sign in to comment.