Module: CoffeePreExt

Defined in:
lib/coffee_short_get.rb

Class Method Summary collapse

Class Method Details

.registered(app) ⇒ Object Also known as: included



34
35
36
37
38
# File 'lib/coffee_short_get.rb', line 34

def registered(app)
  app.after_configuration do
    sprockets.register_preprocessor 'application/javascript', CoffeeGetAccess
  end
end