On 6 January 2012 08:09, Brynjolfur Thorvardsson <[email protected]> wrote: > Well, the easiest way would be to simply remove the files you don't want to > use?
No, I need them for another layout in the same application. > > You might also try using a dynamic css, if you rename your application.css to > application.css.erb it will still work as before but now you can embed ruby > code. If your other css files have a different ending (e.g. .dcss) they won't > be loaded automatically, but you can include them in your application.css.erb > file with simple render statements, possibly something like: > > <%render :file mycss.dcss, :content_type => 'text/css'%> Well, I didn't know that, thank you for the useful information. -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

