Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Override task does not allow to override .js.erb file #1685

Closed
bobbus opened this Issue · 3 comments

3 participants

@bobbus

I cannot find the command to override the file core/app/assets/javascripts/refinery/admin.js.erb.
I did try rake refinery:override javascript=admin but it did not work.

I think it could be because of the pattern used in the task.

I would be happy to write a patch for this but I cannot find the spec for this, they may do not exist ?
Also if I'm right, the same problem probably happen with coffeescript files.

@bobbus

It looks like it is not even possible to override the corresponding file : I manually add it to my project but it is never interpreted nor loaded.

It could be because this js files is included in the compiled js files core/app/assets/javascripts/refinery/refinery.js.

Does anyone have an idea to help me override this file ?
If you are wondering why I want to override it, see #1684

@parndt
Owner

I guess it doesn't allow you to override js.erb files which is a new concept since the asset pipeline.

@ugisozols ugisozols closed this
@bobbus

Thanks a lot !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.