Sha256: 08c6add6665f06adbf5927f9c15accf73e5c77fc66f3f37f0798618af7a6bdc2

Contents?: true

Size: 343 Bytes

Versions: 13

Compression:

Stored size: 343 Bytes

Contents

module InheritedResources
  class Railtie < ::Rails::Engine
    config.inherited_resources = InheritedResources

    if config.respond_to?(:app_generators)
      config.app_generators.scaffold_controller = :inherited_resources_controller
    else
      config.generators.scaffold_controller = :inherited_resources_controller
    end
  end
end

Version data entries

13 entries across 13 versions & 2 rubygems

Version Path
inherited_resources-1.14.0 lib/inherited_resources/engine.rb
inherited_resources-1.13.1 lib/inherited_resources/engine.rb
date_n_time_picker_activeadmin-0.1.2 vendor/bundle/ruby/2.6.0/gems/inherited_resources-1.13.0/lib/inherited_resources/engine.rb
date_n_time_picker_activeadmin-0.1.1 vendor/bundle/ruby/2.6.0/gems/inherited_resources-1.13.0/lib/inherited_resources/engine.rb
inherited_resources-1.13.0 lib/inherited_resources/engine.rb
inherited_resources-1.12.0 lib/inherited_resources/engine.rb
inherited_resources-1.11.0 lib/inherited_resources/engine.rb
inherited_resources-1.10.0 lib/inherited_resources/engine.rb
inherited_resources-1.10.0.rc1 lib/inherited_resources/engine.rb
inherited_resources-1.9.0 lib/inherited_resources/engine.rb
inherited_resources-1.8.0 lib/inherited_resources/engine.rb
inherited_resources-1.7.2 lib/inherited_resources/engine.rb
inherited_resources-1.7.1 lib/inherited_resources/engine.rb