Hanakai
  • Guides
  • Docs
  • Blog
  • Community
  • Conduct
  • Sponsor
  • Guides
  • Docs
  • Blog
  • Community
  • Conduct
  • Sponsor
v2.2 v2.1 v2.0
  1. Getting started
    1. Getting Started
    2. Building a web app
    3. Building an API
  2. Command line
    1. Commands
    2. New
    3. Install
    4. Console
    5. Server
    6. Dev
    7. Routes
    8. Middleware
    9. Generate
    10. Assets
    11. Version
  3. App
    1. Booting
    2. Container and components
    3. Providers
    4. Settings
    5. Autoloading
    6. Environments
    7. App config
    8. Inflector
    9. Code reloading
    10. Slices
  4. Routing
    1. Overview
  5. Actions
    1. Overview
    2. Parameters
    3. Rendering views
    4. Request and response
    5. Status Codes
    6. Rack integration
    7. Formats and MIME types
    8. Cookies
    9. Sessions
    10. Exception handling
    11. Control flow
    12. Inheritance
    13. HTTP Caching
    14. Testing
  6. Views
    1. Overview
    2. Working with dependencies
    3. Input and exposures
    4. Rendering from actions
    5. Templates and partials
    6. Helpers
    7. Context
    8. Parts
    9. Scopes
    10. Rendering errors
    11. Configuration
    12. Testing
  7. Helpers
    1. Overview
    2. String escaping
    3. HTML
    4. Assets
    5. Number formatting
  8. Logger
    1. Configuration
    2. Usage
  9. Assets
    1. Overview
    2. Using a CDN
    3. Customization
  10. Upgrade notes
    1. v2.1.0
  1. Hanami
  2. Actions

Rendering views

Hanami actions are designed to work seamlessly with Hanami views, with features like automatic view rendering and support for a context object that gives views access to details like the current request.

To learn more, see Rendering from actions.

  • Guides
    • Hanami
    • Dry
    • Rom
  • Docs
    • Hanami
    • Dry
    • Rom
  • Community
    • Code repository
    • Discussion forum
    • Chat room
  • Blog
  • Conduct
  • Sponsor