search for: revert_snippet

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

2007 Nov 07
0
Named routes raising nil.rewrite error
...=> ''set_snippet_text'' map.snippet ''faq/:id'', :action => ''show'' map.snippet_version ''faq/:id/version/:version'', :action => ''version'' map.revert_snippet ''faq/:id/version/:version/revert'', :action => ''revert'' end When trying to write the following spec (a regression), I get the error: ======================================== describe SnippetsController, "routes" do it "should route th...