Commit 26bc2379 by Taylor Otwell

Fix named view data passing.

parent fa1fa876
...@@ -261,7 +261,7 @@ class View { ...@@ -261,7 +261,7 @@ class View {
{ {
if (strpos($method, 'of_') === 0) if (strpos($method, 'of_') === 0)
{ {
return static::of(substr($method, 3), $parameters); return static::of(substr($method, 3), Arr::get($parameters, 0, array()));
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment