Commit 26bc2379 authored by Taylor Otwell's avatar Taylor Otwell

Fix named view data passing.

parent fa1fa876
......@@ -261,7 +261,7 @@ class View {
{
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