Skip to content

Commit

Permalink
Fix IdentifyModule Middleware
Browse files Browse the repository at this point in the history
  • Loading branch information
kaidesu committed Mar 1, 2016
1 parent 372783e commit 8bbe169
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Middleware/IdentifyModule.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public function __construct(Modules $module)
*/
public function handle($request, Closure $next, $slug)
{
$request->session()->put('module', $this->module->getProperties($slug)->toArray());
$request->session()->put('module', $this->module->where('slug', $slug)->toArray());

return $next($request);
}
Expand Down

0 comments on commit 8bbe169

Please # to comment.