Sha256: 91fefccb881076f3a5111a4ea55072866fa26c76ec78db186a572b985d3c6928

Contents?: true

Size: 917 Bytes

Versions: 42

Compression:

Stored size: 917 Bytes

Contents

require 'turbolinks'
require 'font-awesome-rails'
require 'momentjs-rails'
require 'nprogress-rails'
require 'rails-i18n'
require 'sassc-rails'

module Mumuki
  module Laboratory
    class Engine < ::Rails::Engine
      require 'mumuki/styles'
      require 'muvment'

      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

42 entries across 42 versions & 1 rubygems

Version Path
mumuki-laboratory-8.1.3 lib/mumuki/laboratory/engine.rb
mumuki-laboratory-8.1.2 lib/mumuki/laboratory/engine.rb
mumuki-laboratory-8.1.1 lib/mumuki/laboratory/engine.rb
mumuki-laboratory-8.1.0 lib/mumuki/laboratory/engine.rb
mumuki-laboratory-7.12.3 lib/mumuki/laboratory/engine.rb
mumuki-laboratory-8.0.0 lib/mumuki/laboratory/engine.rb
mumuki-laboratory-7.12.1 lib/mumuki/laboratory/engine.rb
mumuki-laboratory-7.12.0 lib/mumuki/laboratory/engine.rb
mumuki-laboratory-7.11.1 lib/mumuki/laboratory/engine.rb
mumuki-laboratory-7.11.0 lib/mumuki/laboratory/engine.rb
mumuki-laboratory-7.10.5 lib/mumuki/laboratory/engine.rb
mumuki-laboratory-7.10.4 lib/mumuki/laboratory/engine.rb
mumuki-laboratory-7.10.3 lib/mumuki/laboratory/engine.rb
mumuki-laboratory-7.10.2 lib/mumuki/laboratory/engine.rb
mumuki-laboratory-7.10.1 lib/mumuki/laboratory/engine.rb
mumuki-laboratory-7.10.0 lib/mumuki/laboratory/engine.rb
mumuki-laboratory-7.9.2 lib/mumuki/laboratory/engine.rb
mumuki-laboratory-7.9.1 lib/mumuki/laboratory/engine.rb
mumuki-laboratory-7.9.0 lib/mumuki/laboratory/engine.rb
mumuki-laboratory-7.7.6 lib/mumuki/laboratory/engine.rb