Groups
Groups
Sign in
Groups
Groups
focused_controller
Conversations
About
Send feedback
Help
before filter example in readme?
38 views
Skip to first unread message
Josh Sharpe
unread,
May 1, 2012, 9:23:39 AM
5/1/12
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 focused_c...@googlegroups.com
Say I have a truly orthogonal before filter that I would like to use with focused controller, something simple: before_filter :require_user.
How would you recommend that be implemented?
Jon Leighton
unread,
May 1, 2012, 2:07:56 PM
5/1/12
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 focused_c...@googlegroups.com
Just use a before filter? You are still allowed to use before filters,
it's just that they no longer take such a central role.
Reply all
Reply to author
Forward
0 new messages