stylesheet_link_tag returns a stylesheet link tag for the sources specified
as arguments. Basically you do not need to specify the .css extension. It is
appended automatically. If you have several CSS files in the stylesheets
directory, you can include *all* styles using :all as the source.
---
Edmond Kachale
Software Developer
Baobab Health Trust (http://www.baobabhealth.org/)
Lilongwe
Malawi
site: http://sites.google.com/site/ceekaysgroup/
blog: http://edceekays.blogspot.com/
profile: http://www.google.com/profiles/kachaleedmond
On 14 June 2010 19:01, Marnen Laibow-Koser
<lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:
> Abder-rahman Ali wrote:
> > I know that the following statement loads the scaffold stylesheet, but
> > what exactly does stylesheet_link_tag do here?
> >
> > <%= stylesheet_link_tag ''scaffold'' %>
> >
>
> Read the docs and look at the generated HTML, and all will become clear.
>
> > Thanks.
>
> Best,
> --
> Marnen Laibow-Koser
> http://www.marnen.org
> marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org
> --
> Posted via http://www.ruby-forum.com/.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To unsubscribe from this group, send email to
>
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
> .
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.