Browse Source

Fix bad doc.

Taylor Otwell 12 years ago
parent
commit
0339a3276b
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:*