OSC / ood_appkit

https://osc.github.io/Open-OnDemand/
MIT License
1 stars 2 forks source link

Set default cookie options #42

Closed nickjer closed 7 years ago

nickjer commented 7 years ago

Fixes #34

Assume:

RAILS_RELATIVE_URL_ROOT="/pun/sys/myjobs"

All cookies (including session cookies) will have their path set to:

/pun/sys/myjobs

unless the app requests a deeper path such as:

cookies[:test] = { value: "hello world", path: "/pun/sys/myjobs/test" }