From 70dc62ab184d26f091e479c9ebfa73b48492e8f8 Mon Sep 17 00:00:00 2001 From: Simone Carletti Date: Tue, 21 Sep 2010 17:09:10 +0200 Subject: [PATCH] ActionController::MimeResponds depends on ActionController::Rendering --- .../lib/action_controller/metal/mime_responds.rb | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/actionpack/lib/action_controller/metal/mime_responds.rb b/actionpack/lib/action_controller/metal/mime_responds.rb index c6d4c6d..627bcd5 100644 --- a/actionpack/lib/action_controller/metal/mime_responds.rb +++ b/actionpack/lib/action_controller/metal/mime_responds.rb @@ -5,6 +5,8 @@ module ActionController #:nodoc: module MimeResponds #:nodoc: extend ActiveSupport::Concern + include ActionController::Rendering + included do class_attribute :responder, :mimes_for_respond_to self.responder = ActionController::Responder -- 1.7.2.2