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
object false
child @categories => :categories do
attributes :id,:name
child :active_channel => :spree_channels do |channel|
extends("spree/api/yt_categories/channel_show")`
end
end
I want to know how to pass a parameter from this rabl view to the :active_channel method which is defined in the model.
Passing it like this :active_model(@current_api_user.id)
doesn't work
The text was updated successfully, but these errors were encountered:
Hi.
I have the following rabl file
I want to know how to pass a parameter from this rabl view to the :active_channel method which is defined in the model.
Passing it like this
:active_model(@current_api_user.id)
doesn't work
The text was updated successfully, but these errors were encountered: