Afficher un message
Vieux 15/09/2007, 05h47   #1
Tim Trampedach
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Source a javascript and stylesheet into rhtml file

Hi all,

I'm trying to do a quick dump of a javascript and style sheet located in
their respective /public directories into an rhtml file. I want to
include the entire text of the file in my rhtml file. How do I do this
quickly and efficiently? In PHP there's readfile, but I can't figure out
an equivalent call in ruby.

Thanks so much in advance!

Tim
--
Posted via http://www.ruby-forum.com/.

  Réponse avec citation
 
Page generated in 0,04191 seconds with 9 queries