Sha256: 44f7cc7f1d416ca848756dc29d13542980e1a1765c9b07b86ae600f8f0f75aab

Contents?: true

Size: 272 Bytes

Versions: 2

Compression:

Stored size: 272 Bytes

Contents

require 'rails'
require 'slim'

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
slim-rails-0.2.1 lib/slim-rails.rb
slim-rails-0.2.0 lib/slim-rails.rb