You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rails...@googlegroups.com
I have a general authentication filter for my app (a simple json api for mobile) that is defined in ApplicationController. I want to ignore it when inside Rails Admin.
How do I configure Rails Admin to skip the before filter?
Thanks!
Benoit Bénézech
unread,
May 16, 2013, 4:23:52 AM5/16/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rails...@googlegroups.com
Subclass ApplicationController with FrontEndController and put your filter there. Then use the latter to subclass your own controllers.
Otherwise you can check the parents of the controller to remove the behavior when in RailsAdmin.