Permalink
Browse files

Add a default parameter for Resolver#initialize

  • Loading branch information...
1 parent 2890760 commit 78ced08338e227f6cc380bb3e0f2ee8cda131d9a Carl Lerche committed Aug 27, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_view/template/resolver.rb
@@ -4,7 +4,7 @@
module ActionView
# Abstract superclass
class Resolver
- def initialize(options)
+ def initialize(options = {})
@cache = options[:cache]
@cached = {}
end

0 comments on commit 78ced08

Please sign in to comment.