Spec-Zone.ru › Phoenix

Phoenix.Flash

Source

Provides shared flash access.

Summary

Functions

get(flash, key)

Gets the key from the map of flash data.

Functions

get(flash, key)Source

Gets the key from the map of flash data.

Examples

<div id="info"><%= Phoenix.Flash.get(@flash, :info) %></div>
<div id="error"><%= Phoenix.Flash.get(@flash, :error) %></div>

Hex Package Hex Preview Download ePub version

Built using ExDoc (v0.40.3) for the Elixir programming language

© 2014 Chris McCord
Licensed under the MIT License.
https://phoenix.hexdocs.pm/Phoenix.Flash.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API