Sha256: c623059c8aba8d4e584d506e2e173d91738bc1dfed75e7381b61fdb3f8b13ef4

Contents?: true

Size: 717 Bytes

Versions: 15

Compression:

Stored size: 717 Bytes

Contents

module Mumuki
  module Laboratory
    class Engine < ::Rails::Engine
      config.generators.stylesheets = false
      config.generators.javascripts = false
      config.generators.test_framework = :rspec

      config.assets.precompile += %w(user_shape.png)

      config.autoload_paths += %W(#{config.root}/plugins)
      config.autoload_paths += %W(#{config.root}/app/helpers/concerns)

      config.registration_notification_format = {only: [:id, :name, :email, :image_url]}
      config.action_dispatch.perform_deep_munge = false

      initializer "static assets" do |app|
          app.middleware.insert_before(::ActionDispatch::Static, ::ActionDispatch::Static, "#{root}/public")
      end

    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
mumuki-laboratory-6.4.2 lib/mumuki/laboratory/engine.rb
mumuki-laboratory-6.4.1 lib/mumuki/laboratory/engine.rb
mumuki-laboratory-6.4.0 lib/mumuki/laboratory/engine.rb
mumuki-laboratory-6.2.0 lib/mumuki/laboratory/engine.rb
mumuki-laboratory-6.1.5 lib/mumuki/laboratory/engine.rb
mumuki-laboratory-6.0.4 lib/mumuki/laboratory/engine.rb
mumuki-laboratory-6.1.4 lib/mumuki/laboratory/engine.rb
mumuki-laboratory-6.1.3 lib/mumuki/laboratory/engine.rb
mumuki-laboratory-6.0.3 lib/mumuki/laboratory/engine.rb
mumuki-laboratory-6.1.2 lib/mumuki/laboratory/engine.rb
mumuki-laboratory-6.1.1 lib/mumuki/laboratory/engine.rb
mumuki-laboratory-6.1.0 lib/mumuki/laboratory/engine.rb
mumuki-laboratory-6.0.2 lib/mumuki/laboratory/engine.rb
mumuki-laboratory-6.0.1 lib/mumuki/laboratory/engine.rb
mumuki-laboratory-6.0.0 lib/mumuki/laboratory/engine.rb