Afficher un message
Vieux 15/09/2007, 06h24   #3
James Britt
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Source a javascript and stylesheet into rhtml file

Phlip wrote:
> Tim Trampedach wrote in message ne\
>
>> I'm trying to do a quick dump of a javascript and style sheet located in
>> their respective /public directories into an rhtml file.

>
> <%=h File.read(RAILS_ROOT + '/public/javascript/my_source.js') %>
>
> This is half introductory Ruby and half introductory Rails, so one might
> consider reading a little of the excellent books on these subjects,
> offline, for a while!




Rails questions are better directed to Rails mailing list, where you'll
get better, faster, information.


--
James Britt

"Judge a man by his questions, rather than his answers."
- Voltaire

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