search for: reset_add_function

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

2006 Jan 01
0
Using standard helper methods in my helpers
Hi... I''ve written some simple helper method. My method uses standard helper methods from Rails. When I try to use them from templates - everything is working, but when I try to execute from my helper I get an exception. Here is my code: module ApplicationHelper def reset_add_function r=update_element_function("add") { link_to_remote( "Nowy watek", :update => "add", :url => {:controller=>"add", :action => "add" } ) } end end The reset_add_function throw an exception: undefined local variable or meth...