Sha256: b42195e74b6d51a6d706d93b3a2dd1368c6ec5b0a6cf1ba3779d3f44141c3304

Contents?: true

Size: 350 Bytes

Versions: 4

Compression:

Stored size: 350 Bytes

Contents

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

module Builder
  module Generators
    class ControllerGenerator < Erb::Generators::ControllerGenerator
      source_root File.expand_path(File.join('..', 'templates'), __FILE__)

      protected
      def handler
        :builder
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
we_bridge-html_builder-0.1.7 lib/generators/builder/controller/controller_generator.rb
we_bridge-html_builder-0.1.6 lib/generators/builder/controller/controller_generator.rb
we_bridge-html_builder-0.1.5 lib/generators/builder/controller/controller_generator.rb
we_bridge-html_builder-0.1.4 lib/generators/builder/controller/controller_generator.rb