Sha256: bd855f1a349089e6f660bfc54d2ae5e218802873301263c2e06b12c5804fbba7

Contents?: true

Size: 434 Bytes

Versions: 5

Compression:

Stored size: 434 Bytes

Contents

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

module Rails
  module Generators
    class ScaffoldControllerGenerator < ScaffoldControllerGenerator
      source_root File.expand_path("../templates", __FILE__)

      def create_controller_files
        template 'scaffold_controller.rb', File.join('app/controllers', class_path, "#{controller_file_name}_controller.rb")
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
playmo-0.0.14 lib/generators/rails/scaffold_controller_generator.rb
playmo-0.0.13 lib/generators/rails/scaffold_controller_generator.rb
playmo-0.0.12 lib/generators/rails/scaffold_controller_generator.rb
playmo-0.0.11 lib/generators/rails/scaffold_controller_generator.rb
playmo-0.0.10 lib/generators/rails/scaffold_controller_generator.rb