Sha256: cf442aa358056ee18b89fffe5f748728a961c00a0dc5e182fe44b6bf22676110

Contents?: true

Size: 333 Bytes

Versions: 2

Compression:

Stored size: 333 Bytes

Contents

module Noodall
  module FormBuilder
    class Engine < Rails::Engine
      initializer "set menu" do |app|
        Noodall::UI.menu_items['Forms'] = :noodall_admin_forms_path
      end
      
      initializer "static assets" do |app|
        app.middleware.use ::ActionDispatch::Static, "#{root}/public"
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
noodall-form-builder-0.0.2 lib/noodall/form_builder/engine.rb
noodall-form-builder-0.0.1 lib/noodall/form_builder/engine.rb