So I've got a simple rails app and I want to display an image rotator on the front page. Decidd to give Nivo slider a go, which was pretty simple to put the JavaScript and CSS in the relevant asset folders, but my question now is What to do with the images and styles that go in the theme directories, fitting in with the overall asset pipeline. Right now it works, it's just sort of ugly.
Asked
Active
Viewed 678 times
1 Answers
1
You can add the folders to the asset-pipeline, i.e.
config/application
config.assets.paths << "#{Rails.root}/app/path_to_themes/themes/"

wintersolutions
- 5,173
- 5
- 30
- 51