use RESTful method view instead of create in httperror controller
Fix style