Skip to content

Commit

Permalink
Rename the RenderingController module to just plain Rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
dhh committed Dec 21, 2009
1 parent bdccffc commit 83f4d86
Show file tree
Hide file tree
Showing 16 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion actionmailer/lib/action_mailer/base.rb
Expand Up @@ -253,7 +253,7 @@ module ActionMailer #:nodoc:
class Base
include AdvAttrAccessor, PartContainer, Quoting, Utils

include AbstractController::RenderingController
include AbstractController::Rendering
include AbstractController::LocalizedCache
include AbstractController::Layouts

Expand Down
2 changes: 1 addition & 1 deletion actionpack/lib/abstract_controller.rb
Expand Up @@ -15,6 +15,6 @@ module AbstractController
autoload :Layouts
autoload :LocalizedCache
autoload :Logger
autoload :RenderingController
autoload :Rendering
end
end
2 changes: 1 addition & 1 deletion actionpack/lib/abstract_controller/helpers.rb
Expand Up @@ -4,7 +4,7 @@ module AbstractController
module Helpers
extend ActiveSupport::Concern

include RenderingController
include Rendering

def self.next_serial
@helper_serial ||= 0
Expand Down
2 changes: 1 addition & 1 deletion actionpack/lib/abstract_controller/layouts.rb
Expand Up @@ -2,7 +2,7 @@ module AbstractController
module Layouts
extend ActiveSupport::Concern

include RenderingController
include Rendering

included do
extlib_inheritable_accessor(:_layout_conditions) { Hash.new }
Expand Down
Expand Up @@ -10,7 +10,7 @@ def initialize(message = nil)
end
end

module RenderingController
module Rendering
extend ActiveSupport::Concern

include AbstractController::Logger
Expand Down Expand Up @@ -80,7 +80,7 @@ def render_to_body(options = {})
#
# :api: plugin
def render_to_string(options = {})
AbstractController::RenderingController.body_to_s(render_to_body(options))
AbstractController::Rendering.body_to_s(render_to_body(options))
end

# Renders the template from an object.
Expand Down
2 changes: 1 addition & 1 deletion actionpack/lib/action_controller.rb
Expand Up @@ -25,7 +25,7 @@ module ActionController
autoload :RackConvenience
autoload :Compatibility
autoload :Redirector
autoload :RenderingController
autoload :Rendering
autoload :RenderOptions
autoload :Rescue
autoload :Responder
Expand Down
2 changes: 1 addition & 1 deletion actionpack/lib/action_controller/base.rb
Expand Up @@ -9,7 +9,7 @@ class Base < Metal
include ActionController::HideActions
include ActionController::UrlFor
include ActionController::Redirector
include ActionController::RenderingController
include ActionController::Rendering
include ActionController::RenderOptions::All
include ActionController::Layouts
include ActionController::ConditionalGet
Expand Down
2 changes: 1 addition & 1 deletion actionpack/lib/action_controller/metal/layouts.rb
Expand Up @@ -158,7 +158,7 @@ module ActionController
module Layouts
extend ActiveSupport::Concern

include ActionController::RenderingController
include ActionController::Rendering
include AbstractController::Layouts

module ClassMethods
Expand Down
@@ -1,9 +1,9 @@
module ActionController
module RenderingController
module Rendering
extend ActiveSupport::Concern

included do
include AbstractController::RenderingController
include AbstractController::Rendering
include AbstractController::LocalizedCache
end

Expand Down
2 changes: 1 addition & 1 deletion actionpack/lib/action_controller/metal/streaming.rb
Expand Up @@ -4,7 +4,7 @@ module ActionController #:nodoc:
module Streaming
extend ActiveSupport::Concern

include ActionController::RenderingController
include ActionController::Rendering

DEFAULT_SEND_FILE_OPTIONS = {
:type => 'application/octet-stream'.freeze,
Expand Down
2 changes: 1 addition & 1 deletion actionpack/lib/action_controller/metal/verification.rb
Expand Up @@ -2,7 +2,7 @@ module ActionController #:nodoc:
module Verification #:nodoc:
extend ActiveSupport::Concern

include AbstractController::Callbacks, Session, Flash, RenderingController
include AbstractController::Callbacks, Session, Flash, Rendering

# This module provides a class-level method for specifying that certain
# actions are guarded against being called without certain prerequisites
Expand Down
2 changes: 1 addition & 1 deletion actionpack/test/abstract/abstract_controller_test.rb
Expand Up @@ -28,7 +28,7 @@ class TestBasic < ActiveSupport::TestCase
# Test Render mixin
# ====
class RenderingController < AbstractController::Base
include ::AbstractController::RenderingController
include ::AbstractController::Rendering

def _prefix() end

Expand Down
2 changes: 1 addition & 1 deletion actionpack/test/abstract/helper_test.rb
Expand Up @@ -6,7 +6,7 @@ module AbstractController
module Testing

class ControllerWithHelpers < AbstractController::Base
include AbstractController::RenderingController
include AbstractController::Rendering
include Helpers

def with_module
Expand Down
2 changes: 1 addition & 1 deletion actionpack/test/abstract/layouts_test.rb
Expand Up @@ -6,7 +6,7 @@ module Layouts

# Base controller for these tests
class Base < AbstractController::Base
include AbstractController::RenderingController
include AbstractController::Rendering
include AbstractController::Layouts

self.view_paths = [ActionView::FixtureResolver.new(
Expand Down
2 changes: 1 addition & 1 deletion actionpack/test/abstract/localized_cache_test.rb
Expand Up @@ -4,7 +4,7 @@ module AbstractController
module Testing

class CachedController < AbstractController::Base
include AbstractController::RenderingController
include AbstractController::Rendering
include AbstractController::LocalizedCache

self.view_paths = [ActionView::FixtureResolver.new(
Expand Down
2 changes: 1 addition & 1 deletion actionpack/test/abstract/render_test.rb
Expand Up @@ -4,7 +4,7 @@ module AbstractController
module Testing

class ControllerRenderer < AbstractController::Base
include AbstractController::RenderingController
include AbstractController::Rendering

self.view_paths = [ActionView::FixtureResolver.new(
"default.erb" => "With Default",
Expand Down

0 comments on commit 83f4d86

Please sign in to comment.