Sha256: 3fb58c7d7d5019a083f6d261d90293a70b71b9d7b95ed7cec22577d1e5817f11

Contents?: true

Size: 329 Bytes

Versions: 9

Compression:

Stored size: 329 Bytes

Contents

require 'rails/generators/rails/scaffold_controller/scaffold_controller_generator'

module Rails
  module Generators
    class ResourceControllerGenerator < Rails::Generators::ScaffoldControllerGenerator
      def self.source_root
        @source_root ||= File.expand_path('../templates', __FILE__)
      end
    end
  end
end


Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
resources-1.1.1 lib/generators/rails/resource_controller_generator.rb
resources-1.1.0 lib/generators/rails/resource_controller_generator.rb
resources-1.0.1 lib/generators/rails/resource_controller_generator.rb
resources-1.0.0 lib/generators/rails/resource_controller_generator.rb
resources-0.2.0 lib/generators/rails/resource_controller_generator.rb
resources-0.1.3 lib/generators/rails/resource_controller_generator.rb
resources-0.1.2 lib/generators/rails/resource_controller_generator.rb
resources-0.1.1 lib/generators/rails/resource_controller_generator.rb
resources-0.1.0 lib/generators/rails/resource_controller_generator.rb