Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
bobbus opened this issue May 23, 2012 · 3 comments
Closed

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

bobbus opened this issue May 23, 2012 · 3 comments

Comments

@bobbus
Copy link
Contributor

bobbus commented May 23, 2012

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
Copy link
Contributor Author

bobbus commented May 23, 2012

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
Copy link
Member

parndt commented May 23, 2012

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

@bobbus
Copy link
Contributor Author

bobbus commented May 24, 2012

Thanks a lot !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants