kemal-flash
Version, currently 0.1.01 version
- 0.1.0latestFeb 8, 2017
github.com/Nephos/kemal-flash
Temporary storage between actions in kemal
0 stars
0 dependents
License: MIT
Installation
# Add this to your shard.yml
dependencies:
kemal-flash:
github: Nephos/kemal-flash
version: ~> 0.1.0Then run:
shards installshard.yml
- Crystal
- no constraint declared
- License
- MIT
- Author
- Rimas Silkaitis
Dependencies
This version declares no dependencies.
README
kemal-flash
kemal-flash provides a way to pass temporary information between actions. Anything
that's placed in the flash will be cleared out at the end of the next action. kemal-flash
depends on kemal-session. Make sure kemal-session is included before including
kemal-flash.
Installation
Add this to your application's shard.yml:
dependencies:
kemal-flash:
github: neovintage/kemal-flash
version: 0.1.0
Usage
require "kemal"
require "kemal-session"
require "kemal-flash"
get "/" do |env|
env.flash["notice"] = "welcome"
end
get "/check_flash" do |env|
env.flash["notice"]?
end
Contributing
- Fork it ( https://github.com/[your-github-name]/kemal-flash/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
Contributors
- [neovintage] Rimas Silkaitis - creator, maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
0.1.0- Tagged
- Feb 8, 2017
- Commit
c0eb4e915733- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/Nephos/kemal-flash
Metadata
- Created
- Aug 16, 2026
- Updated
- Aug 16, 2026
- Synced
- Aug 16, 2026
- Versions
- 1