I don't think we need to copy the whole example from above, one should be able to infere it from the context and we can simply show the `respond_with` call:

*You can also override the location to redirect to:*
```ruby
respond_with(@project, location: root_path)
```