search for: module_backend_requir

Displaying 1 result from an estimated 1 matches for "module_backend_requir".

2006 Nov 04
0
filter function with parameter
...seems to be looking for another syntax. before_filter :check_quantity(2), :only => [:show] doesn''t work. What''s the right way to do this? Thanks a lot! --------------------------------- Can u help me with this?? i have this code in a module file. (module LoginSystem) def module_backend_required(the_module = "test",the_action = "test") p "-----------------------" p "the_module" + the_module p "the_action" + the_action p "-----------------------" if not protect?(action_name) return true end...