Sha256: b918aa320ba690bf464b44523b24f20c4033de0b642b1f7802eaac938219dcb9

Contents?: true

Size: 414 Bytes

Versions: 4

Compression:

Stored size: 414 Bytes

Contents

require 'rails/generators/erb/controller/controller_generator'
require 'generators/my_scaffold_generator'

module MyGenerators
  module Generators
    class ControllerGenerator < Erb::Generators::ControllerGenerator
      include MyGenerators::Generators::MyScaffoldGenerator
      source_root File.expand_path("../templates", __FILE__)

    protected

      def handler
        :haml
      end

    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
my_generators-0.0.4 lib/generators/my_generators/controller/controller_generator.rb
my_generators-0.0.3 lib/generators/my_generators/controller/controller_generator.rb
my_generators-0.0.2 lib/generators/my_generators/controller/controller_generator.rb
my_generators-0.0.1 lib/generators/my_generators/controller/controller_generator.rb