Sha256: 6443341d090d57b03bf0eafa299e70d78444b89210f9fc70b8cbc5ed911fc6a7

Contents?: true

Size: 302 Bytes

Versions: 3

Compression:

Stored size: 302 Bytes

Contents

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

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

      private

      def handler
        :haml
      end
    end
  end
end

Version data entries

3 entries across 2 versions & 2 rubygems

Version Path
trusty-cms-7.0.9.1 vendor/bundle/ruby/3.1.0/gems/haml-rails-2.1.0/lib/generators/haml/controller/controller_generator.rb
trusty-cms-7.0.9.1 vendor/bundle/ruby/3.3.0/gems/haml-rails-2.1.0/lib/generators/haml/controller/controller_generator.rb
haml-rails-2.1.0 lib/generators/haml/controller/controller_generator.rb