Smeltery
Get started

The basics

v0.1

Flash messages

session.flash("status", "Post saved.") followed by a redirect shows the message on the next page only:

text
@if(session("status"))
  <p class="status">{{ session("status") }}</p>
@endif

Back is the previous page as a handler argument: back.redirect() answers 303 to the Referer when it is on this site, otherwise to /.

↑↓ moveEnter openEsc close