We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
assets.prefix
Hello,
The first of all, disclaimer. I am a newbie in Ruby and Rails, that's why my question is probably naive.
I have a Rails app where I would like to serve assets from non-standard prefix. So I have in config/initializers/config.rb:
config/initializers/config.rb
Rails.application.config.assets.prefix = "/assets3"
And in application.scss I've made the following change:
application.scss
$fa-font-path: "font-awesome/"; @import "font-awesome-sprockets"; @import "font-awesome";
Is this idiomatic enough, so that I shall not have any problems in development / production? Or is there any better approach?
Best, Alexander
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello,
The first of all, disclaimer. I am a newbie in Ruby and Rails, that's why my question is probably naive.
I have a Rails app where I would like to serve assets from non-standard prefix. So I have in
config/initializers/config.rb
:And in
application.scss
I've made the following change:Is this idiomatic enough, so that I shall not have any problems in development / production? Or is there any better approach?
Best,
Alexander
The text was updated successfully, but these errors were encountered: