Sha256: bd9cf87d985a55a35a87e3b4712f95fdeed8b4899ab33e11df4abf19a0f0f77c

Contents?: true

Size: 303 Bytes

Versions: 39

Compression:

Stored size: 303 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__)

    protected

      def handler
        :haml
      end

    end
  end
end

Version data entries

39 entries across 39 versions & 7 rubygems

Version Path
haml-rails-2.0.1 lib/generators/haml/controller/controller_generator.rb
haml-rails-2.0.0 lib/generators/haml/controller/controller_generator.rb
haml-rails-1.0.0 lib/generators/haml/controller/controller_generator.rb
sc_core-0.0.7 test/dummy/vendor/bundle/ruby/2.2.0/gems/haml-rails-0.9.0/lib/generators/haml/controller/controller_generator.rb
haml-rails-0.9.0 lib/generators/haml/controller/controller_generator.rb
haml-rails-0.8.2 lib/generators/haml/controller/controller_generator.rb
haml-rails-0.8.1 lib/generators/haml/controller/controller_generator.rb
haml-rails-0.8.0 lib/generators/haml/controller/controller_generator.rb
haml-rails-0.7.0 lib/generators/haml/controller/controller_generator.rb
haml-rails-0.6.0 lib/generators/haml/controller/controller_generator.rb
scaffold-bootstrap3-1.0.1 lib/generators/haml/controller/controller_generator.rb
scaffold-bootstrap3-1.0.0 lib/generators/haml/controller/controller_generator.rb
scaffold-bootstrap3-0.0.9 lib/generators/haml/controller/controller_generator.rb
scaffold-bootstrap3-0.0.8 lib/generators/haml/controller/controller_generator.rb
haml-rails-0.5.3 lib/generators/haml/controller/controller_generator.rb
haml-rails-0.5.2 lib/generators/haml/controller/controller_generator.rb
haml-rails-0.5.1 lib/generators/haml/controller/controller_generator.rb
scaffold-bootstrap3-0.0.6 lib/generators/haml/controller/controller_generator.rb
scaffold-bootstrap3-0.0.5 lib/generators/haml/controller/controller_generator.rb
scaffold-bootstrap3-0.0.4 lib/generators/haml/controller/controller_generator.rb