public
Description: A Rails plugin to make it easy to use YUI on Rails instead of (or along with, I suppose) Prototype and scriptaculous
Clone URL: git://github.com/rubaidh/yui_on_rails.git
If we're called with :cache => true, set the cache filename to yui.
mathie (author)
Fri Aug 08 05:19:58 -0700 2008
commit  01b70d20c03496518b706de8dcd0490dc86fd042
tree    9eb3c8ffb81911e49ddc638b510471dd70e410af
parent  d03f6829c57ef723d4ff6f903e82080ca545d6c2
...
163
164
165
 
166
167
168
...
163
164
165
166
167
168
169
0
@@ -163,6 +163,7 @@ module ActionView # :nodoc:
0
 
0
         def yui_stylesheet_link_tag(*components)
0
           options = components.extract_options!
0
+ options[:cache] = "yui" if options[:cache] == true
0
 
0
           # Stringify components
0
           components = components.map { |c| c.to_s }

Comments

    No one has commented yet.