Class: CacheWagon::FlashMessagesController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- CacheWagon::FlashMessagesController
- Includes:
- Controllers::Base
- Defined in:
- app/controllers/cache_wagon/flash_messages_controller.rb
Instance Method Summary collapse
Methods included from Controllers::Base
included, #read_flash_from_session, #write_flash_to_session
Instance Method Details
#index ⇒ Object
6 7 8 9 |
# File 'app/controllers/cache_wagon/flash_messages_controller.rb', line 6 def index @flash_messages = read_flash_from_session render :content_type => 'text/javascript' end |