Displaying 2 results from an estimated 2 matches for "check_permissions".
Did you mean:
check_permission
2005 Mar 03
0
passing parameters to filters
I need my filter to take some conditional action depending on the
parameter passed to it. this gives me a syntax error:
before_filter :check_permissions(1)
is it possible to pass parameters to filter methods?
2006 Aug 23
0
Caches_action/ before_filter problem .
Hello, I have a method called "check_permission" that is set to run as a
before_fitler and which checks if a user has the authorization to view a
page.
This page is displayed through the method "show" which is cached through
the tag "caches_action :show"
My problem is that once a user with authorization to a page accesses it,
then afterwards all users (with or