Sha256: b122ef5b0299f506925cc3b210aa6225b2dd6cab547890d99789e86aa7da1879

Contents?: true

Size: 588 Bytes

Versions: 7

Compression:

Stored size: 588 Bytes

Contents

module BootboxCrud
  module Rails
    class Engine < ::Rails::Engine
      require 'bootbox-rails'
      require 'haml-rails'
      require 'simple_form'
      require 'jquery-rails'
      require 'turbolinks'
      require 'jquery-turbolinks'
      require 'remotipart'

      initializer "bootbox_crud.configure_view" do |app|
        ActiveSupport.on_load :action_view do
          include BootboxCrud::ActionView::Helpers
        end
      end

      config.app_generators do |g|
        g.templates.unshift File::expand_path('../../templates', __FILE__)
      end 
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
bootbox_crud-0.1.1.6 lib/bootbox_crud/engine.rb
bootbox_crud-0.1.1.5 lib/bootbox_crud/engine.rb
bootbox_crud-0.1.1.4 lib/bootbox_crud/engine.rb
bootbox_crud-0.1.1.3 lib/bootbox_crud/engine.rb
bootbox_crud-0.1.1.2 lib/bootbox_crud/engine.rb
bootbox_crud-0.1.1.1 lib/bootbox_crud/engine.rb
bootbox_crud-0.1.1 lib/bootbox_crud/engine.rb