Class: BootstrapIt::Assets::CSSDirectiveProcessor

Inherits:
Sprockets::DirectiveProcessor
  • Object
show all
Defined in:
lib/bootstrap_it/assets.rb

Instance Method Summary collapse

Instance Method Details

#process_require_directive(file) ⇒ Object



17
18
19
20
21
22
23
24
# File 'lib/bootstrap_it/assets.rb', line 17

def process_require_directive(file)
  if file == 'bootstrap_it'
    super 'bootstrap'
    super 'font-awesome' if BootstrapIt.config.font_awesome
  else
    super
  end
end