diff --git a/src/Illuminate/View/View.php b/src/Illuminate/View/View.php index a43900639dc2..01ed0800d3db 100755 --- a/src/Illuminate/View/View.php +++ b/src/Illuminate/View/View.php @@ -399,7 +399,7 @@ public function __call($method, $parameters) throw new BadMethodCallException("Method [$method] does not exist on view."); } - return $this->with(Str::snake(substr($method, 4)), $parameters[0]); + return $this->with(Str::camel(substr($method, 4)), $parameters[0]); } /**