core/classes/cached.rb in owl-cms-0.1.3 vs core/classes/cached.rb in owl-cms-0.1.5
- old
+ new
@@ -24,10 +24,10 @@
File.expand_path("#{Owl::CMS::Cache::CACHE_STORE}#{path}/index.html" ),
File.expand_path("#{Owl::CMS::Cache::CACHE_STORE}#{path}index.html" )
]
end
- def self.clear
+ def self.clear_all!
puts "** Removing OwlCMS cache **"
FileUtils.rm_rf Owl::CMS::Cache::CACHE_STORE
end
end
\ No newline at end of file