Sha256: a873c6006e1e781f3cac100b04c4d6e17714d9ab16718b29136fd3006b44d4eb

Contents?: true

Size: 612 Bytes

Versions: 2

Compression:

Stored size: 612 Bytes

Contents

require 'refinery'
require 'moxify/url_tempfile'

module Refinery
  module Moxify
    class Engine < Rails::Engine
      initializer "static assets" do |app|
        app.middleware.insert_after ::ActionDispatch::Static, ::ActionDispatch::Static, "#{root}/public"
      end
      
      initializer "require dragonfly hook" do |app|
        require 'moxify/dragonfly_quality_hook'
      end
      
      ::Refinery::Plugin.register do |plugin|
        plugin.name ="moxify"
        plugin.version = "0.1.3"
        plugin.hide_from_menu = true
        plugin.always_allow_access = true
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
moxify-0.1.5 lib/moxify.rb
moxify-0.1.3 lib/moxify.rb