class Marten::Template::ContextProducer::Flash
Overview
Context producers that adds a flash variable for the flash store in the context if a request is present.
Defined in:
marten/template/context_producer/flash.crInstance Method Summary
- 
        #produce(request : HTTP::Request | Nil = nil)
        
          Returns a hash of values to include in a template context. 
Instance methods inherited from class Marten::Template::ContextProducer
  
  
    
      produce(request : HTTP::Request | Nil = nil)
    produce
    
  
    
    
  
    
    
    
  
    
    
    
  
Instance Method Detail
              Description copied from class Marten::Template::ContextProducer
            
          
          Returns a hash of values to include in a template context.
The method must return a hash or named tuple if there are values to return, otherwise it can also return nil
if it can't produce any values.