Class: Solidcrud::ApplicationController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- Solidcrud::ApplicationController
- Includes:
- ActionController::Flash, Authentication
- Defined in:
- app/controllers/solidcrud/application_controller.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#flash ⇒ Object
Override flash method to work around Rails 7.2 delegation issue.
Instance Method Details
#flash ⇒ Object
Override flash method to work around Rails 7.2 delegation issue
9 10 11 12 13 14 |
# File 'app/controllers/solidcrud/application_controller.rb', line 9 def flash @_flash ||= super rescue NoMethodError # Fallback for Rails 7.2 compatibility session['flash'] ||= ActionDispatch::Flash::FlashHash.new end |