Update laravel/documentation/views/html.md
The second parameter of HTML::style have to be an array, not a string.
This commit is contained in:
parent
05cb1ea5ad
commit
b0ac276d1a
|
@ -40,7 +40,7 @@ #### Generating a reference to a CSS file:
|
|||
|
||||
#### 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:*
|
||||
|
||||
|
|
Loading…
Reference in New Issue