Module: Frails::SideLoadAssets

Extended by:
ActiveSupport::Concern
Defined in:
lib/frails/side_load_assets.rb

Instance Method Summary collapse

Instance Method Details

#_normalize_options(options) ⇒ Object

Add _side_load_assets flag to the options hash, which will be available in TemplateRenderer, allowing us control if views/layouts are side loaded.



13
14
15
16
17
# File 'lib/frails/side_load_assets.rb', line 13

def _normalize_options(options)
  super
  options[:side_load_assets] = side_load_assets
  options
end