Sha256: 1f72b3d6c4c03229395906fb3d759c22d78165baf71fe594bcd1bc33d1381897

Contents?: true

Size: 296 Bytes

Versions: 5

Compression:

Stored size: 296 Bytes

Contents

require 'rails'
require 'slim'

module Slim
  module Rails
    class Railtie < ::Rails::Railtie              
      if ::Rails.version.to_s >= '3.1'
        config.app_generators.template_engine :slim        
      else
        config.generators.template_engine :slim
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
slim-rails-2.0.4 lib/slim-rails.rb
slim-rails-2.0.3 lib/slim-rails.rb
slim-rails-2.0.2 lib/slim-rails.rb
slim-rails-2.0.1 lib/slim-rails.rb
slim-rails-1.1.1 lib/slim-rails.rb