Answer the question
In order to leave comments, you need to log in
Set up compass paths?
Trying to set up paths in a rails app for my sprites.
Icons for sprites are in Rails.root/images
config/assets.rb: Rails.application.config.assets.paths << 'images'
config/initializers.compass.rb:
Compass.configuration.generated_images_dir = 'public/dev-assets/sprites' if Rails.env.development?
background-image: url(/icons-xxx.png)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question