aub-cache_advance 1.0.4 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/cache_advance.gemspec +1 -1
- data/rails/init.rb +6 -0
- metadata +1 -1
data/cache_advance.gemspec
CHANGED
data/rails/init.rb
CHANGED
|
@@ -18,6 +18,12 @@ ActionController::Base.helper do
|
|
|
18
18
|
end
|
|
19
19
|
end
|
|
20
20
|
|
|
21
|
+
ActionMailer::Base.helper do
|
|
22
|
+
def cache_it(cache, options={})
|
|
23
|
+
yield
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
|
|
21
27
|
# This will get called after the standard rails environment is initialized.
|
|
22
28
|
config.after_initialize do
|
|
23
29
|
|