Extracting engine parts from public/

Hi,

I am happily extracting an engine from my Rails app. Every thing has
gone smoothly so far but now I’m trying to extract the required
JavaScript, CSS and image files. This doesn’t seem to work the way I
expected. Where do I put these files in the engine?

I hope will similarly named javascript in my main rails app will
shadow a javascript file in my engine.

Thanks,
Peter

On 7/1/06, Peter M. [email protected] wrote:

Hi,

I am happily extracting an engine from my Rails app. Every thing has
gone smoothly so far but now I’m trying to extract the required
JavaScript, CSS and image files. This doesn’t seem to work the way I
expected. Where do I put these files in the engine?

No problem with engine_image and engine_stylesheet:)

Thanks,
Peter

How do you expect it to work? What have you tried, and what
(unexpected) behaviour has it produced?

On 7/2/06, James A. [email protected] wrote:

How do you expect it to work? What have you tried, and what
(unexpected) behaviour has it produced?

Hi James,

I remembered seeing engine_image and engine_stylesheet and these
methods solved all my problems.

I’ve known I’ve needed engines for a long time and only had time to
sit down and make my first extraction yesterday. Engines are really
great! Thank you!

Peter