Skip to content

Commit b0ac276

Browse files
committed
Update laravel/documentation/views/html.md
The second parameter of HTML::style have to be an array, not a string.
1 parent 05cb1ea commit b0ac276

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

laravel/documentation/views/html.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ For example, the < symbol should be converted to its entity representation. Conv
4040

4141
#### Generating a reference to a CSS file using a given media type:
4242

43-
echo HTML::style('css/common.css', 'print');
43+
echo HTML::style('css/common.css', array('media' => 'print'));
4444

4545
*Further Reading:*
4646

0 commit comments

Comments
 (0)