search for: rebuild_pag

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

Did you mean: rebuild_page
2006 Mar 27
0
render_to_string troubles
...ite", :action => "funding", :params => { ''page'' => "submissions.html" } }, { :controller => "site", :action => "funding", :params => { ''page'' => "production.html" } } ] do rebuild_page(options) end with the following in the application.rb controller: # handle all regeneration of pages - available to all controllers def rebuild_page(options, path = nil) # get rid of the existing one expire_page(options) # pull the page in as a string # set page paramet...