Merge pull request #2910 from mullerivan/patch-1

Update css.md
This commit is contained in:
Will Rossiter 2014-03-03 17:54:30 +13:00
commit fb0d349cee

View File

@ -21,7 +21,7 @@ In your controller (e.g. `mysite/code/Page.php`):
// either specify the css file manually // either specify the css file manually
Requirements::css("mymodule/css/my.css", "screen,projection"); Requirements::css("mymodule/css/my.css", "screen,projection");
// or mention the css filename and SilverStripe will get the file from the current theme and add it to the template // or mention the css filename and SilverStripe will get the file from the current theme and add it to the template
Requirements::themedCSS('print', 'print'); Requirements::themedCSS('print', null,'print');
} }
} }