Class: CacheManager::KeysController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- CacheManager::KeysController
- Defined in:
- app/controllers/cache_manager/keys_controller.rb
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
5 6 7 |
# File 'app/controllers/cache_manager/keys_controller.rb', line 5 def index @keys = Key.all end |
#show ⇒ Object
9 10 11 |
# File 'app/controllers/cache_manager/keys_controller.rb', line 9 def show @key = Key.find(params[:id]) end |