Sha256: f6f4c08b25a8f4d3bd2b42068297c882af2c9ef19195242bef18579c09ea1156

Contents?: true

Size: 318 Bytes

Versions: 22

Compression:

Stored size: 318 Bytes

Contents

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

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

      protected
      def handler
        :slim
      end

    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
slim-rails-3.4.0 lib/generators/slim/controller/controller_generator.rb
slim-rails-3.3.0 lib/generators/slim/controller/controller_generator.rb
slim-rails-3.2.0 lib/generators/slim/controller/controller_generator.rb
slim-rails-3.1.3 lib/generators/slim/controller/controller_generator.rb
slim-rails-3.1.2 lib/generators/slim/controller/controller_generator.rb
slim-rails-3.1.1 lib/generators/slim/controller/controller_generator.rb
slim-rails-3.1.0 lib/generators/slim/controller/controller_generator.rb
slim-rails-3.0.1 lib/generators/slim/controller/controller_generator.rb
slim-rails-3.0.0 lib/generators/slim/controller/controller_generator.rb
slim-rails-2.1.5 lib/generators/slim/controller/controller_generator.rb
slim-rails-2.1.4 lib/generators/slim/controller/controller_generator.rb
slim-rails-2.1.3 lib/generators/slim/controller/controller_generator.rb
slim-rails-2.1.2 lib/generators/slim/controller/controller_generator.rb
slim-rails-2.1.1 lib/generators/slim/controller/controller_generator.rb
slim-rails-2.1.0 lib/generators/slim/controller/controller_generator.rb
slim-rails-2.0.4 lib/generators/slim/controller/controller_generator.rb
slim-rails-2.0.3 lib/generators/slim/controller/controller_generator.rb
slim-rails-2.0.2 lib/generators/slim/controller/controller_generator.rb
slim-rails-2.0.1 lib/generators/slim/controller/controller_generator.rb
slim-rails-1.1.1 lib/generators/slim/controller/controller_generator.rb