diff options
Diffstat (limited to 'app/helpers/application_helper.rb')
-rw-r--r-- | app/helpers/application_helper.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 2138571..68194e7 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -152,6 +152,10 @@ module ApplicationHelper content_tag("h2", content, :class => "boxtitle") end + def last_import_start + Rails.cache.fetch(::CVE_CACHE_LAST_IMPORT) + end + def with_format(format, &block) old_formats = formats begin |