Skip to content

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

Open
FlorianV85 wants to merge 1 commit intoadonisjs:mainfrom
FlorianV85:fix/flash-messages
Open

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

Conversation

@FlorianV85
Copy link

❓ 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`
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.

1 participant