Overriding stylesheet_link_tag to accept a conditions hash

so im browsing rails-doc.org in a fruitless attempt to see how hard
this is to implement… maybe someone can give me some better ideas…

i want to override stylesheet_link_tag like this…

<%= stylesheet_link_tag :all, { :except => :login, :cache =>
true, :media => :print } %>

any ideas?

im guessing it would ultimately involve overriding
expand_stylesheet_sources but im not sure how to get the conditions to
get down to there… nor the best place to override it…

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs