Sha256: 67d8d3ddc0afebae33ab80db75a72962226be4b5493541f656540756cec7339c
Contents?: true
Size: 1 KB
Versions: 20
Compression:
Stored size: 1 KB
Contents
module Mumuki module Laboratory class Engine < ::Rails::Engine config.generators.stylesheets = false config.generators.javascripts = false config.generators.test_framework = :rspec %w(exercise submission).each do |it| config.autoload_paths += %W(#{config.root}/app/models/#{it}) end %w(submittable navigation).each do |it| config.autoload_paths += %W(#{config.root}/app/models/concerns/#{it}) end 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 config.status_rendering_verbosity = :standard initializer "static assets" do |app| app.middleware.insert_before(::ActionDispatch::Static, ::ActionDispatch::Static, "#{root}/public") end end end end
Version data entries
20 entries across 20 versions & 1 rubygems