Class: Fastentry::CacheController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- Fastentry::CacheController
- Defined in:
- app/controllers/fastentry/cache_controller.rb
Instance Method Summary collapse
Instance Method Details
#invalidate ⇒ Object
12 13 14 15 16 17 |
# File 'app/controllers/fastentry/cache_controller.rb', line 12 def invalidate key = params[:key] Fastentry.cache.delete(key) redirect_to root_path end |