Skip to content

fix(session): use the correct method for flashing messages#28

Merged
thetutlage merged 1 commit intoadonisjs:mainfrom
FlorianV85:fix/flash-messages
Mar 26, 2026
Merged

fix(session): use the correct method for flashing messages#28
thetutlage merged 1 commit intoadonisjs:mainfrom
FlorianV85:fix/flash-messages

Conversation

@FlorianV85
Copy link
Copy Markdown
Contributor

❓ Type of change

  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • 👌 Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

The docs on sessions said to use the flashMessages.flash() method (which doesn’t seem to exist) instead of session.flash().

📝 Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

`session.flashMessages.flash` -> `session.flash`
@thetutlage thetutlage merged commit b58ab85 into adonisjs:main Mar 26, 2026
@thetutlage
Copy link
Copy Markdown
Member

Thanks :+1

@FlorianV85 FlorianV85 deleted the fix/flash-messages branch March 26, 2026 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants