I set some variables params in before_action ApplicationController so they are accessible
in entire app for every Paloma controller.
js user: username, email: email
How can i access this params with other js functions outside of Paloma controllers?
I want them to be accessible for all pages - not specific ones.
I see them passed to html-js script, for example:
request = {"resource":"Test","action":"index","params":{"user":"admin","email":"admin@example.com"}};
I set some variables params in before_action ApplicationController so they are accessible
in entire app for every Paloma controller.
How can i access this params with other js functions outside of Paloma controllers?
I want them to be accessible for all pages - not specific ones.
I see them passed to html-js script, for example: