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

Fontawesome with relative url #8

Open
matisojka opened this issue Apr 6, 2013 · 0 comments
Open

Fontawesome with relative url #8

matisojka opened this issue Apr 6, 2013 · 0 comments

Comments

@matisojka
Copy link

Hi, I'm using less-rails-fontawesome in a Rails 4.0.0.beta1 app. The problem is, when I deploy my application to production, which sits in a subfolder, I can't get fontawesome to show the icons.

I have seen that the path to fontawesome in the .less files is hardcoded to /assets. Shouldn't it be something more dynamic, depending on the asset pipeline config?

In my config/deploy.rb file, I have this:

set :asset_env, "#{asset_env} RAILS_RELATIVE_URL_ROOT=/my_app"

which allows the assets to be shown under a subfolder. Any ideas on how to fix that?

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

No branches or pull requests

1 participant