Sha256: 84eef5f2fbacca158af193fe41ef945da979d904d9fe4bf1b2ab470a2a5e1c7a

Contents?: true

Size: 495 Bytes

Versions: 3

Compression:

Stored size: 495 Bytes

Contents

require "rails/generators/rails/scaffold/scaffold_generator"

module ExtjsScaffold
  module Generators
    class ScaffoldGenerator < Rails::Generators::ScaffoldGenerator
      remove_hook_for :scaffold_controller
      
      class_option :test_framework, :desc => "Test framework to be invoked"

      hook_for :scaffold_controller, :required => true
      
      # override super - route added in scaffold_controller_generator
      def add_resource_route
        
      end

    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
extjs_scaffold-0.2.1 lib/generators/extjs_scaffold/scaffold/scaffold_generator.rb
extjs_scaffold-0.2.0 lib/generators/extjs_scaffold/scaffold/scaffold_generator.rb
extjs_scaffold-0.1.1 lib/generators/extjs_scaffold/scaffold/scaffold_generator.rb