From b0ac276d1a71631d6d18613d93b4a8edcf4da32f Mon Sep 17 00:00:00 2001 From: vauteer <gerald@modehaus-lindner.de> Date: Sun, 6 Jan 2013 09:42:53 +0100 Subject: [PATCH] Update laravel/documentation/views/html.md The second parameter of HTML::style have to be an array, not a string. --- laravel/documentation/views/html.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/laravel/documentation/views/html.md b/laravel/documentation/views/html.md index 629387c..9b52399 100644 --- a/laravel/documentation/views/html.md +++ b/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:* -- libgit2 0.26.0