Closed llioor closed 7 years ago
When I use: $html = View::make('footer')->render(); The view content is passed to the parameter ($html)
When I write this before: JavaScript::put([ 'foo' => 'Baa', ]);
this: $html = View::make('footer')->render();
is not working properly anymore, the render() function output the data directly to the browser and not as a string to the parameter.
When I use: $html = View::make('footer')->render(); The view content is passed to the parameter ($html)
When I write this before: JavaScript::put([ 'foo' => 'Baa', ]);
this: $html = View::make('footer')->render();
is not working properly anymore, the render() function output the data directly to the browser and not as a string to the parameter.