You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @yosiat, a question about translating an AMS pattern to panko:
serialization_scope: AMS allows you to set serialization scope at ApplicationController level which commonly seems to be used for passing in the current user.
serialization_scope:current_user
Now I notice that there is context provided in Panko which would serve the same purpose but wondering if that can be set at a global or per-controller level? Or is that something to be set with each render call?
The text was updated successfully, but these errors were encountered:
Currently, since Panko doesn't support it you need to pass it in each render call.
In the next release or the one after it, I will add support for this.
Hi @yosiat, a question about translating an AMS pattern to
panko
:serialization_scope
: AMS allows you to set serialization scope atApplicationController
level which commonly seems to be used for passing in the current user.Now I notice that there is
context
provided in Panko which would serve the same purpose but wondering if that can be set at a global or per-controller level? Or is that something to be set with eachrender
call?The text was updated successfully, but these errors were encountered: