So, I have a collection_action in active admin that is used by PandaStream api to send back notifications when video is processed:
collection_action :notify, :method => :post do
# some irrelevant to the question code
end
rake routes returns:
notify_admin_videos POST /admin/videos/notify(.:format) admin/videos#notify
The problem is when I got notification from pandastream, I get:
Completed 401 Unauthorized in 0ms
That's expected as the panda api is not authenticated in my admin panel. So question is, is there any way to skip authentication in custom_active admin actions?
Please help clear this up for me!
Thanks!