Permalink
Browse files

fixes bug when called with string

  • Loading branch information...
1 parent 87a6e6d commit 873bb2e38f6aa5a7cdc16f86819bcc1ca57cc975 @yeah yeah committed Sep 13, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/page_cache_fu.rb
@@ -53,7 +53,7 @@ def page_cache_fu_path(orig_path)
when Hash
self.class.page_cache_fu_options[orig_path[:action].to_sym]
when String
- nil
+ {}
else
self.class.page_cache_fu_options[self.request[:action].to_sym]
end

0 comments on commit 873bb2e

Please sign in to comment.