lib/generators/spotlight/install_generator.rb in blacklight-spotlight-0.18.0 vs lib/generators/spotlight/install_generator.rb in blacklight-spotlight-0.19.0
- old
+ new
@@ -19,9 +19,15 @@
def friendly_id
gem 'friendly_id'
generate 'friendly_id'
end
+ def riiif
+ gem 'riiif', '~> 0.4.0'
+ route "mount Riiif::Engine => '/images', as: 'riiif'"
+ copy_file 'config/initializers/riiif.rb'
+ end
+
def paper_trail
generate 'paper_trail:install'
end
def sitemaps