Displaying 1 result from an estimated 1 matches for "the_module".
Did you mean:
othermodule
2006 Nov 04
0
filter function with parameter
...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
if @session...