Module: Slim::Rails::RegisterEngine

Defined in:
lib/slim-rails/register_engine.rb

Defined Under Namespace

Classes: Transformer

Class Method Summary collapse

Class Method Details

.register_engine(app, config) ⇒ Object



12
13
14
15
16
17
18
# File 'lib/slim-rails/register_engine.rb', line 12

def register_engine(app, config)
  if ::Rails::VERSION::MAJOR == 3
    _register_engine3(app)
  else
    _register_engine(config)
  end
end