Check whether the assets should be bundled.
Returns¶ ↑
- Boolean
-
True if the assets should be bundled (e.g., production mode or
:bundle_assets is explicitly enabled).
def self.bundle?
(Merb.environment == 'production') ||
(!!Merb::Config[:bundle_assets])
end