From d08f65118cc328de5493a68db33a155487f5fceb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Valim?= Date: Sun, 1 May 2011 10:33:30 +0200 Subject: Start abstracting the renderer. --- actionpack/lib/action_view/context.rb | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'actionpack/lib/action_view/context.rb') diff --git a/actionpack/lib/action_view/context.rb b/actionpack/lib/action_view/context.rb index a2a64de206..710cdc613d 100644 --- a/actionpack/lib/action_view/context.rb +++ b/actionpack/lib/action_view/context.rb @@ -31,10 +31,6 @@ module ActionView # template and provides the output buffer. module Context include CompiledTemplates - attr_accessor :output_buffer - - def convert_to_model(object) - object.respond_to?(:to_model) ? object.to_model : object - end + attr_accessor :output_buffer, :view_renderer, :view_flow end end \ No newline at end of file -- cgit v1.2.3