Module: Firehose::Assets::Sprockets
- Defined in:
- lib/firehose/assets.rb
Overview
Integrate Firehose ./lib/assets files into a sprocket-enabled environment.
Class Method Summary collapse
-
.auto_detect ⇒ Object
Try to automatically configure Sprockets if its detected in the project.
-
.configure(env) ⇒ Object
Drop flash and javascript paths to Firehose assets into a sprockets environment.
- .manifest ⇒ Object
Class Method Details
.auto_detect ⇒ Object
Try to automatically configure Sprockets if its detected in the project.
17 18 19 20 21 |
# File 'lib/firehose/assets.rb', line 17 def self.auto_detect if defined? ::Sprockets and ::Sprockets.respond_to? :append_path Firehose::Assets::Sprockets.configure ::Sprockets end end |