fixed "show destroy" omission, DRYed generated code
Merge pull request #12 from explainer/master

Fixed 'show destroy' omission