# File lib/action_view/template_handlers/safemode_handler.rb, line 9 def delegate_methods(view) [ :render, :params, :flash ] + helper_methods(view) + ActionController::Routing::Routes.named_routes.helpers end
# File lib/action_view/template_handlers/safemode_handler.rb, line 15 def helper_methods(view) view.class.included_modules.collect {|m| m.instance_methods(false) }.flatten.map(&:to_sym) end
# File lib/action_view/template_handlers/safemode_handler.rb, line 19 def skip_assigns [ "_cookies", "_flash", "_headers", "_params", "_request", "_response", "_session", "before_filter_chain_aborted", "ignore_missing_templates", "logger", "request_origin", "template", "template_class", "url", "variables_added", "view_paths" ] end
Generated with the Darkfish Rdoc Generator 2.