aub-cache_advance 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- 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
|
|