Browse Source

Update laravel/documentation/views/html.md

The second parameter of HTML::style have to be an array, not a string.
vauteer 12 years ago
parent
commit
b0ac276d1a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      laravel/documentation/views/html.md

+ 1 - 1
laravel/documentation/views/html.md

@@ -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:*