Skip to content
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

Get scripts is called multiple times per route #221

Open
allanchau opened this issue Nov 12, 2018 · 0 comments
Open

Get scripts is called multiple times per route #221

allanchau opened this issue Nov 12, 2018 · 0 comments
Assignees
Labels

Comments

@allanchau
Copy link
Contributor

Expected behaviour

Get scripts should only be called once.

Actual behaviour

It is called multiple times.

Steps to reproduce the behaviour

  1. Create a route that uses req.flash().
  2. Add a custom script to linz that uses the flash message if (req.flash('')) to load a custom script.
  3. Notice the script never loads because get script is called multiple times.
@allanchau allanchau self-assigned this Nov 12, 2018
@allanchau allanchau added the bug label Nov 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant