search for: rebuild_page

Displaying 1 result from an estimated 1 matches for "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 paramete...