From 8d5ffa8287628f44e20bb06fff8e9c3036d4ce23 Mon Sep 17 00:00:00 2001 From: Serverfire Date: Tue, 10 May 2016 13:11:13 +0430 Subject: [PATCH] fix on pull request --- src/controllers/CrudController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/CrudController.php b/src/controllers/CrudController.php index fb57df4..2403123 100644 --- a/src/controllers/CrudController.php +++ b/src/controllers/CrudController.php @@ -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']); }