Sha256: ff8c7db0e5a21c31d434dc4494ad66e0c3a74661e250ac756c23d314c6b3e942

Contents?: true

Size: 421 Bytes

Versions: 6

Compression:

Stored size: 421 Bytes

Contents

begin
  require 'strong_parameters'
rescue LoadError
end
require 'action_args/params_handler'
require 'action_args/abstract_controller'

module ActionArgs
  class Railtie < ::Rails::Railtie
    if config.respond_to? :app_generators
      config.app_generators.scaffold_controller = :action_args_scaffold_controller
    else
      config.generators.scaffold_controller = :action_args_scaffold_controller
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
action_args-1.4.0 lib/action_args.rb
action_args-1.3.0 lib/action_args.rb
action_args-1.2.1 lib/action_args.rb
action_args-1.2.0 lib/action_args.rb
action_args-1.1.1 lib/action_args.rb
action_args-1.1.0 lib/action_args.rb