Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 344
- Log:
Massive changeset which brings the old, ROOL customised Instiki
version up to date, but without any ROOL customisations in this
latest checked-in version (which is 0.19.1). This is deliberate,
so that it's easy to see the changes made for the ROOL version
in a subsequent changeset. The 'app/views/shared' directory is not
part of Instiki but is kept to maintain the change history with
updated ROOL customisations, some of which involve the same files
in that same directory.
- Author:
- rool
- Date:
- Sat Mar 19 19:52:13 +0000 2011
- Size:
- 770 Bytes
1 | # based on http://pastie.org/49840 |
2 | # override the fragment_cache_key method in actionpack/lib/action_controller/caching/fragments.rb |
3 | # to remove hostname in fragment caching |
4 | # so instead of caching different fragments for "example.com/posts/list" and |
5 | # "www.example.com/posts/list", instead it will just use "posts/list" |
6 | module CachingStuff |
7 | module ActionController |
8 | module Caching |
9 | module Fragments |
10 | def fragment_cache_key(key) |
11 | ActiveSupport::Cache.expand_cache_key(key.is_a?(Hash) ? url_for(key.merge(:host=>"")).split(":///").last : key.split('/')[1..-1].join('/').gsub(/\?format=.*/,''), :views) |
12 | end |
13 | end |
14 | end |
15 | end |
16 | end |
17 | |
18 | ActionController::Base.class_eval do |
19 | include CachingStuff::ActionController::Caching::Fragments |
20 | end |