Engine_javascript only works in certain places?


#1

I have engine_javascript working fine in a layout file - inside of the
HEAD tags.

I’m trying to use it in a view template at the end of a file and I’m not
getting anything.

By design or is this a bug?


#2

It should be available in every view. Are you seeing any error?

On 2/18/06, Seth removed_email_address@domain.invalid wrote:


engine-developers mailing list
removed_email_address@domain.invalid
http://lists.rails-engines.org/listinfo.cgi/engine-developers-rails-engines.org

  • J *
    ~

#3

James A. wrote:

It should be available in every view. Are you seeing any error?

On 2/18/06, Seth removed_email_address@domain.invalid wrote:


engine-developers mailing list
removed_email_address@domain.invalid
http://lists.rails-engines.org/listinfo.cgi/engine-developers-rails-engines.org

  • J *
    ~

No error at all, but I was using a very old version of engines. 1.0.6
has fixed it wonderfully, thanks :slight_smile: