Sha256: d48ec52a76b1267be0aabc885e2466c64f22e3f2b6a82e316ed379d0bec0aee4

Contents?: true

Size: 363 Bytes

Versions: 1

Compression:

Stored size: 363 Bytes

Contents

module LatoMedia
  class Engine < ::Rails::Engine
    isolate_namespace LatoMedia

    require 'rubygems'
    require 'paperclip'

    # add routes support
    initializer 'Add gem routes to application', before: :load_config_initializers do
      Rails.application.routes.append do
        mount LatoMedia::Engine, at: '/lato/media'
      end
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lato_media-2.1 lib/lato_media/engine.rb