lib/padrino-responders/default.rb
##
# Displays default template, or if it not exists then is trying to display
# serialized object with specified response params.  
#
Displays default template, or if it not exists then is trying to display
serialized object with specified response params.
Displays default template or if it not exists then is trying to display serialized object with specified response params .
def process_rendering_chain(type, object, params={})
          render "#{controller_name}/#{action_name}"
        rescue
          render params.merge(type.to_sym => object)
        end
def process_rendering_chain ( type , object , params = { } ) render "#{controller_name}/#{action_name}" rescue render params . merge ( type . to_sym => object ) end
Displays default template, or if it not exists then is trying to display
serialized object with specified response params.
Displays default template or if it not exists then is trying to display serialized object with specified response params .
type
<not_specific>
object
<not_specific>
params
<not_specific>