README.md in rails_imager-0.0.28 vs README.md in rails_imager-0.0.29

- old
+ new

@@ -29,9 +29,14 @@ module ApplicationHelper include RailsImager::ImagesHelper end ``` +In case you use RailsImager in an engine, you might want to alter the path through an initializer file (config/initializers/rails_imager.rb): +```ruby +RailsImager.config.path = "/my_engine/rails_imager" +``` + ## Capistrano If you use Capistrano to deploy, you probably symlink the "public/system" directory, in order to share uploaded images between releases. This screws with RailsImager's security only to serve images from the "public"-folder. You can solve this by adding the following initializer in "config/initializers/rails_imager.rb":