Only redirect html requests from show to edit. fixes #24

This enables json rendering of single item.