# File lib/innate/helper/render.rb, line 135 def render_custom(action_name, variables = {}) unless action = resolve(action_name.to_s) raise(ArgumentError, "No Action %p on #{self}" % [action_name]) end action.sync_variables(self.action) action.instance = action.node.new action.variables = action.variables.merge(variables) yield(action) if block_given? valid_action = action.view || action.method Log.warn("Empty action: %p" % [action]) unless valid_action action.render end