search for: the_action

Displaying 2 results from an estimated 2 matches for "the_action".

Did you mean: bh_action
2006 Nov 04
0
filter function with parameter
...: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[:backend] and authorize?(@ses...
2006 Jun 19
0
url_for missing out parameters?
Having a bit of an issue with url_for The current page I''m on has a named route as follows: map.some_page ''page/:id/:range'', :action => ''the_action'' All looks fairly normal. I have an url_for on this page to make a link to another page as so: url_for(:controller=>''other'', :action=>''display'', :id=>5, :range=>''the_range'') This URL comes out as: /other/display/5 You...