Commit b0ac276d authored by vauteer's avatar vauteer

Update laravel/documentation/views/html.md

The second parameter of HTML::style have to be an array, not a string.
parent 05cb1ea5
......@@ -40,7 +40,7 @@ For example, the < symbol should be converted to its entity representation. Conv
#### Generating a reference to a CSS file using a given media type:
echo HTML::style('css/common.css', 'print');
echo HTML::style('css/common.css', array('media' => 'print'));
*Further Reading:*
......
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