Noticed some strange behaviour where the loginengine css in main public
direcotry get rewritten all the time
Should check to see if file present and then place else don’t rewrite
Mostly a frustration
Noticed some strange behaviour where the loginengine css in main public
direcotry get rewritten all the time
Should check to see if file present and then place else don’t rewrite
Mostly a frustration
Hi,
When you start an engine, it will recopy ALL public files under
/public/engine_files, if they are different from those within the
individual engines. There is a README file created in that directory
explaining this. You should never touch the contents of this
directory, as there is no guarantee that your changes will persist.
If you wish to ‘override’ some of the CSS or Javascript, your changes
must be in /public/stylesheets (or /public/javascripts) - either add
new style rules with !important, or copy the engine stylesheet and
make your changes in that. Remember to include your edits (and NOT
include the engine stylesheet if that’s appropriate)
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs