diff options
author | Carl Lerche <carllerche@mac.com> | 2009-08-26 19:45:33 -0700 |
---|---|---|
committer | Carl Lerche <carllerche@mac.com> | 2009-08-26 19:52:18 -0700 |
commit | 78ced08338e227f6cc380bb3e0f2ee8cda131d9a (patch) | |
tree | 9f741fd2f8968b955c304c4e49fa80c0c16ece26 /actionpack/lib | |
parent | 289076066551b5439e48ef743ca277af95eba36c (diff) | |
download | rails-78ced08338e227f6cc380bb3e0f2ee8cda131d9a.tar.gz rails-78ced08338e227f6cc380bb3e0f2ee8cda131d9a.tar.bz2 rails-78ced08338e227f6cc380bb3e0f2ee8cda131d9a.zip |
Add a default parameter for Resolver#initialize
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_view/template/resolver.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/template/resolver.rb b/actionpack/lib/action_view/template/resolver.rb index fe657166d5..0b4c62d4d0 100644 --- a/actionpack/lib/action_view/template/resolver.rb +++ b/actionpack/lib/action_view/template/resolver.rb @@ -4,7 +4,7 @@ require "action_view/template/template" module ActionView # Abstract superclass class Resolver - def initialize(options) + def initialize(options = {}) @cache = options[:cache] @cached = {} end |