Sha256: 94ce7d92b44c421b77bf7273b3ddad278214e0b40d357da3bc988075561489c1

Contents?: true

Size: 494 Bytes

Versions: 1

Compression:

Stored size: 494 Bytes

Contents

module ActiveScaffoldConfigList
  class Engine < ::Rails::Engine
    initializer 'active_scaffold_config_list.routes' do
      ActiveSupport.on_load :active_scaffold_routing do
        self::ACTIVE_SCAFFOLD_CORE_ROUTING[:collection][:show_config_list] = :get
      end
    end

    initializer 'active_scaffold_config_list.action_view' do
      ActiveSupport.on_load :action_view do
        ActionView::Base.send :include, ActiveScaffold::Helpers::ConfigListHelpers
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
active_scaffold_config_list-3.6.0 lib/active_scaffold_config_list/engine.rb