Skip to content

Howto access params variables? #95

@niksfirefly

Description

@niksfirefly

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"}};

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions