New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small enhancements of the Result class to access flash and session #411

Closed
cescoffier opened this Issue Jan 13, 2015 · 0 comments

Comments

Projects
None yet
1 participant
@cescoffier
Member

cescoffier commented Jan 13, 2015

The Result class does not let you add / remove data from session and flash. It should be possible using:

  • without(String key) - extend the current behavior to remove data from session or flash
  • addToSession(key, value)
  • addToFlash(key, value)

The two last methods requires a current HTTP context. If none, they fail.

@cescoffier cescoffier self-assigned this Jan 13, 2015

@cescoffier cescoffier added this to the 0.7.1 milestone Jan 13, 2015

@cescoffier cescoffier changed the title from Small enhancement of the Result class to access flash and session to Small enhancements of the Result class to access flash and session Jan 13, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment