Skip to content

Commit

Permalink
fix on pull request
Browse files Browse the repository at this point in the history
  • Loading branch information
AlirezaAlgo committed May 10, 2016
1 parent f45495e commit 8d5ffa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controllers/CrudController.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public function __construct(\Lang $lang)
$this->route = $route;
if($route = $route::current())
{
$routeParamters = $route::current()->parameters();
$routeParamters = $route->parameters();
if(isset($routeParamters['entity']))
$this->setEntity($routeParamters['entity']);
}
Expand Down

0 comments on commit 8d5ffa8

Please sign in to comment.