Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

minor documentation fix

  • Loading branch information...
commit 577272dd66216c1efea6b7562cf37b56481ec9be 1 parent 75da94e
@alexch alexch authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/erector/widget.rb
View
2  lib/erector/widget.rb
@@ -435,7 +435,7 @@ def javascript(*args, &block)
# <link href="erector.css" rel="stylesheet" type="text/css" />
# The parameter is the full contents of the href attribute, including any ".css" extension.
#
- # If you want to emit raw CSS inline, use the #script method instead.
+ # If you want to emit raw CSS inline, use the #style method instead.
def css(href)
link :rel => 'stylesheet', :type => 'text/css', :href => href
end
Please sign in to comment.
Something went wrong with that request. Please try again.