# builds a json response to a successful project createtion json.prettify! json.project do json.title @project.title # TODO add after decision on user creation/identification json.created_by @project.owner.email json.id @project.id json.created_at @project.created_at #json.template @project.dmptemplate json.dmptemplate @project.dmptemplate.title end