search for: edit_member

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

Did you mean: div_member
2007 Sep 05
0
Render :action for moved templates
I have two actions, that I want to use the same template. However, the template is stored in a non-stardard location (a subdirectory under views/<controller>). My original code looked like: def edit_member <do stuff here> render :template => "path/to/template/edit_member" end def add_member <do stuff here> render :action => :edit_member end The intent here is that add_member is a special case of edit_member. Edit_member points to its template (an .rjs file),...