aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/lookup_context.rb
diff options
context:
space:
mode:
authorNick Sutterer <apotonick@gmail.com>2011-05-03 23:38:44 +0200
committerNick Sutterer <apotonick@gmail.com>2011-05-03 23:38:44 +0200
commit37f448e05e411cb07e829a0d93f6a83ee95ccdf3 (patch)
tree7428997c56cbb05d7e6158c5be372b9286a5f3b3 /actionpack/lib/action_view/lookup_context.rb
parentbff374050d5a7e237fda98a1d4cc6256484e94f2 (diff)
downloadrails-37f448e05e411cb07e829a0d93f6a83ee95ccdf3.tar.gz
rails-37f448e05e411cb07e829a0d93f6a83ee95ccdf3.tar.bz2
rails-37f448e05e411cb07e829a0d93f6a83ee95ccdf3.zip
added :prefixes accessor to LookupContext.
Diffstat (limited to 'actionpack/lib/action_view/lookup_context.rb')
-rw-r--r--actionpack/lib/action_view/lookup_context.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/actionpack/lib/action_view/lookup_context.rb b/actionpack/lib/action_view/lookup_context.rb
index 06c607931d..89729b70b3 100644
--- a/actionpack/lib/action_view/lookup_context.rb
+++ b/actionpack/lib/action_view/lookup_context.rb
@@ -9,6 +9,8 @@ module ActionView
# generate a key, given to view paths, used in the resolver cache lookup. Since
# this key is generated just once during the request, it speeds up all cache accesses.
class LookupContext #:nodoc:
+ attr_accessor :prefixes
+
mattr_accessor :fallbacks
@@fallbacks = FallbackFileSystemResolver.instances