Depending on what version of engines you are on, there are also some helper methods as well..
Engine_image Engine_image_src -Nb On 3/27/06 3:09 PM, "James Adam" <[EMAIL PROTECTED]> wrote: > When you start Rails (via a webserver or via the console), it will > copy *everything* underneath public/ in your engines into > subdirectories of the main RAILS_ROOT/public folder. If you make > changes to these files, you'll have to restart your server (or console > process) to have them re-copied. > > When running a webserver, you'll need to make sure that the user which > your webserver runs as has permission to write files under /public. > > - james > > On 3/27/06, Todd Willey <[EMAIL PROTECTED]> wrote: >> On 3/27/06, Bart Masschelein <[EMAIL PROTECTED]> wrote: >>> Hello, >>> >>> I also created some images in a new public/images directory this >>> evening, and I was wondering if it would copy the images directory, >>> and.... it did! I did not have to turn anything on. Of course you have >>> to restart webrick. If you're using Apache, I already noticed that it >>> does not even copy/update the javascripts and stylesheets directory. >>> >>> Bart >> >> Thanks Bart >> >> I just needed a restart. I wonder why the directory wasn't there to begin >> with? >> >> -todd[1] >> _______________________________________________ >> engine-users mailing list >> [email protected] >> http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org >> > > > -- > * J * > ~ > _______________________________________________ > engine-users mailing list > [email protected] > http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Nathaniel S. H. Brown http://nshb.net ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _______________________________________________ engine-users mailing list [email protected] http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org
