before filter example in readme?

38 views
Skip to first unread message

Josh Sharpe

unread,
May 1, 2012, 9:23:39 AM5/1/12
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 PM5/1/12
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