lib/dynamic_image/railtie.rb in dynamic_image-2.0.0 vs lib/dynamic_image/railtie.rb in dynamic_image-2.0.1

- old
+ new

@@ -1,9 +1,9 @@ # encoding: utf-8 module DynamicImage class Railtie < ::Rails::Railtie - initializer "dynamic_image" do + initializer 'dynamic_image' do ActionDispatch::Routing::Mapper.send :include, DynamicImage::Routing config.after_initialize do |app| secret = app.key_generator.generate_key('dynamic_image') DynamicImage.digest_verifier = DynamicImage::DigestVerifier.new(secret)