Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Index: lib/mongrel/rails.rb
- ===================================================================
- --- lib/mongrel/rails.rb (revision 346)
- +++ lib/mongrel/rails.rb (working copy)
- @@ -61,7 +61,7 @@
- end
- path_info = request.params[Mongrel::Const::PATH_INFO]
- - page_cached = path_info + ".html"
- + page_cached = path_info + ActionController::Base.page_cache_extension
- get_or_head = @@file_only_methods.include? request.params[Mongrel::Cons
- t::REQUEST_METHOD]
- if get_or_head and @files.can_serve(path_info)
Add Comment
Please, Sign In to add comment