Hi Sergio, Can you let me know if this is a bug, or something I can fix with a configuration. The AS icons are not getting correctly referenced in my production application, which has a URL Prefix.
For example CORRECT PATH https://xx.nasa.gov/sls1-cache/assets/active_scaffold/close-a2bad6c536db65f2fbc35868b7834349da5f5e96c4e83be055d6317b429d1811.png ACTUAL PATH (what browser is getting) https://xx.nasa.gov/assets/active_scaffold/close-a2bad6c536db65f2fbc35868b7834349da5f5e96c4e83be055d6317b429d1811.png For Google Dev Tools, the missing resource is located here: /* line 30, vendor/bundle/ruby/2.7.0/gems/active_scaffold-3.6.0.rc2/app/assets/stylesheets/active_scaffold_images.scss raw CSS in the above file, using the image_url helper. .active-scaffold a.inline-adapter-close { background-image: image-url('active_scaffold/close.png'); } For "everything else", I handle the URL prefix as follows: $ SUB_URI="/sls1-cache" $ bundle exec rails assets:precompile RAILS_RELATIVE_URL_ROOT="$SUB_URI" --trace RAILS_ENV=production Any ideas why this is not working for the AS stuff? Thanks for any help you might offer. Dennis -- You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails Gem" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/activescaffold/16d7e136-3a50-4527-abbb-cd5ee11b2782n%40googlegroups.com.
