# File lib/abstract_controller/rendering.rb, line 46 46: def view_context_class 47: @view_context_class ||= begin 48: controller = self 49: Class.new(ActionView::Base) do 50: if controller.respond_to?(:_routes) 51: include controller._routes.url_helpers 52: end 53: 54: if controller.respond_to?(:_helpers) 55: include controller._helpers 56: 57: # TODO: Fix RJS to not require this 58: self.helpers = controller._helpers 59: end 60: end 61: end 62: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.