diff options
author | José Valim <jose.valim@gmail.com> | 2010-02-22 13:13:26 +0100 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-02-22 13:13:26 +0100 |
commit | d92e8554921b7ab1906fd657325f395413cbdb30 (patch) | |
tree | 770c5fd350ad4ed131f1c1af601539bfd4da4cb5 /actionpack | |
parent | cefc136ec332e5e065a2f4dd184d6fec0ea3c2ba (diff) | |
download | rails-d92e8554921b7ab1906fd657325f395413cbdb30.tar.gz rails-d92e8554921b7ab1906fd657325f395413cbdb30.tar.bz2 rails-d92e8554921b7ab1906fd657325f395413cbdb30.zip |
Include missing modules.
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_controller/metal/redirecting.rb | 1 | ||||
-rw-r--r-- | actionpack/lib/action_controller/metal/rendering.rb | 2 | ||||
-rw-r--r-- | actionpack/lib/action_view/base.rb | 4 |
3 files changed, 4 insertions, 3 deletions
diff --git a/actionpack/lib/action_controller/metal/redirecting.rb b/actionpack/lib/action_controller/metal/redirecting.rb index faf0589fd2..25e4e18493 100644 --- a/actionpack/lib/action_controller/metal/redirecting.rb +++ b/actionpack/lib/action_controller/metal/redirecting.rb @@ -11,6 +11,7 @@ module ActionController extend ActiveSupport::Concern include AbstractController::Logger + include ActionController::RackDelegation include ActionController::UrlFor # Redirects the browser to the target specified in +options+. This parameter can take one of three forms: diff --git a/actionpack/lib/action_controller/metal/rendering.rb b/actionpack/lib/action_controller/metal/rendering.rb index b1dab8497b..6518a464e2 100644 --- a/actionpack/lib/action_controller/metal/rendering.rb +++ b/actionpack/lib/action_controller/metal/rendering.rb @@ -2,7 +2,7 @@ module ActionController module Rendering extend ActiveSupport::Concern - include RackDelegation + include ActionController::RackDelegation include AbstractController::Rendering include AbstractController::LocalizedCache diff --git a/actionpack/lib/action_view/base.rb b/actionpack/lib/action_view/base.rb index 4096c296c3..44e5870131 100644 --- a/actionpack/lib/action_view/base.rb +++ b/actionpack/lib/action_view/base.rb @@ -11,7 +11,7 @@ module ActionView #:nodoc: def initialize(paths, path, details, partial) @path = path - display_paths = paths.compact.join(":") + display_paths = paths.compact.map{ |p| p.to_s.inspect }.join(", ") template_type = if partial "partial" elsif path =~ /layouts/i @@ -20,7 +20,7 @@ module ActionView #:nodoc: 'template' end - super("Missing #{template_type} #{path} with #{details.inspect} in view path #{display_paths}") + super("Missing #{template_type} #{path} with #{details.inspect} in view paths #{display_paths}") end end |