method
flash_with_components
rails latest stable - Class:
ActionController::Components::InstanceMethods
flash_with_components(refresh = false)protected
No documentation available.
# File actionpack/lib/action_controller/components.rb, line 102
def flash_with_components(refresh = false) #:nodoc:
if !defined?(@_flash) || refresh
@_flash =
if defined?(@parent_controller)
@parent_controller.flash
else
flash_without_components
end
end
@_flash
end