app/helpers/application_helper.rb
# ajax call for detail of entity with its controller
# options[:event] is the event to call such as :onclick
# "find_detail" method will be called via standard show action.
ajax call for detail of entity with its controller
options[:event] is the event to call such as :onclick
"find_detail" method will be called via standard show action.
ajax call for detail of entity with its controller options [ : event ] is the event to call such as : onclick " find_detail " method will be called via standard show action .
def remote_call_for_detail(entity, options = {})
    unless @view_allowed.to_a.include?(:no_detail_call)
      opt = options.dup
      action = opt[:action] || :show   
      opt[:params] = opt[:params].to_h.merge(:background_params => @background_params)
      remote_call_for_action(action, entity, opt)
    end
  end
def remote_call_for_detail ( entity , options = { } ) unless @view_allowed . to_a . include? ( :no_detail_call ) opt = options . dup action = opt [ :action ] || :show opt [ :params ] = opt [ :params ] . to_h . merge ( :background_params => @background_params ) remote_call_for_action ( action , entity , opt ) end end
ajax call for detail of entity with its controller
options[:event] is the event to call such as :onclick
"find_detail" method will be called via standard show action.
ajax call for detail of entity with its controller options [ : event ] is the event to call such as : onclick " find_detail " method will be called via standard show action .
# possibly action for detail other than :show.
entity
<not_specific>
options
<not_specific>