refinery/refinerycms — pull request #1944 by tsemana (2012-09-14 04:20:53+00:00)
Title: Fixes GH-1892 by properly updating the form action when the title is changed during save-and-continue

Passes the `admin_pages_path url` using the items current title back to the view using a hidden field tag. The save-and-continue javascript then updates the form action with the new url.
Includes request spec for the first save-and-continue and regression test for the bug described in GH-1892.