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

discard only whitelisted keys #47

Open
masterkain opened this issue Nov 15, 2017 · 0 comments
Open

discard only whitelisted keys #47

masterkain opened this issue Nov 15, 2017 · 0 comments

Comments

@masterkain
Copy link

masterkain commented Nov 15, 2017

https://github.com/leonid-shevtsov/unobtrusive_flash/blob/master/lib/unobtrusive_flash/controller_mixin.rb#L14

I'm using flash[:analytics] = 'custom_value' as a way to send google analytics events in view, however flash is discarded. perhaps we should discard only unobtrusive_flash_keys?

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

No branches or pull requests

1 participant