Just like in FilesController, I need to split a few methods in VersionsController before I can nest it under the projects resource.
Before
| 1 2 3 4 5 | class VersionsController 'projects', :action => 'settings', :tab => 'versions', :id => @project end end end end | 
After
| 1 2 3 4 5 6 | class VersionsController 'projects', :action => 'settings', :tab => 'versions', :id => @project end end end end | 
The #edit method wasn’t doing anything, so this refactoring was really simple.  I did add some extra routing tests in the commit in order to make sure none of the urls changed.