Permalink
Browse files

Include missing modules.

  • Loading branch information...
1 parent cefc136 commit d92e8554921b7ab1906fd657325f395413cbdb30 @josevalim josevalim committed Feb 22, 2010
@@ -11,6 +11,7 @@ module Redirecting
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:
@@ -2,7 +2,7 @@ module ActionController
module Rendering
extend ActiveSupport::Concern
- include RackDelegation
+ include ActionController::RackDelegation
include AbstractController::Rendering
include AbstractController::LocalizedCache
@@ -11,7 +11,7 @@ class MissingTemplate < ActionViewError #: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 @@ def initialize(paths, path, details, partial)
'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

0 comments on commit d92e855

Please sign in to comment.