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

Provide access to the session (at least session.id) for running jobs view.html.erb #3565

Open
Micket opened this issue May 20, 2024 · 0 comments

Comments

@Micket
Copy link
Contributor

Micket commented May 20, 2024

For example the completed sessions have full access to the session variable:

views = { partial: "completed", locals: { session: session } }

but the running jobs only get view and connect parts:

views = { partial: "custom", locals: { view: session.view, connect: session.connect } }

I would really like to use the session ID as a unique identifier for a cookie I need to set for an app. This (at least the session.id) should always be available so I see no reason why this can't be provided for the template.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants