Module: ActiveTools::OnLoadActionController

Extended by:
ActiveSupport::Concern
Includes:
ActionPack::ActionController::PathHelper, Misc::InputSource::ConverseParameters
Defined in:
lib/active_tools/bundle.rb,
lib/active_tools/misc/script_flow.rb,
lib/active_tools/misc/input_source.rb,
lib/active_tools/misc/uniq_content.rb,
lib/active_tools/action_pack/action_controller/path_helper.rb

Instance Method Summary collapse

Methods included from ActionPack::ActionController::PathHelper

#current_action, #current_controller, #http_referer

Methods included from Misc::InputSource::ConverseParameters

#converse_parameters

Instance Method Details

#_render_template(options) ⇒ Object



9
10
11
12
13
14
15
# File 'lib/active_tools/misc/script_flow.rb', line 9

def _render_template(options)
  if lookup_context.rendered_format == :js
     super + uniq_content_storage.render_content(Misc::DEFAULT_JS_FLOW_KEY)
  else
    super
  end
end

#converse(hash, key) ⇒ Object



88
89
90
# File 'lib/active_tools/misc/input_source.rb', line 88

def converse(hash, key)
  converse_parameters(hash[key], key)
end

#uniq_content_storageObject



54
55
56
# File 'lib/active_tools/misc/uniq_content.rb', line 54

def uniq_content_storage
  @_uniq_content_storage ||= Misc::UniqContent::Storage.new
end