Deal with clients that don't send an HTTP_ACCEPT header.
Cache S5, TeX and Print views. Temporary hack: don't cache list and recently_revised pages.
This commit is contained in:
parent
d74116dc67
commit
a656772622
5 changed files with 10 additions and 9 deletions
|
@ -85,7 +85,7 @@ class PageSet < Array
|
|||
|
||||
def wiki_words
|
||||
self.inject([]) { |wiki_words, page|
|
||||
wiki_words + page.wiki_words
|
||||
wiki_words + page.wiki_words
|
||||
}.flatten.uniq.sort
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue