Review

You could simplify this to ```<% link_to 'Home', dog_path(session[:current_dog]), class: "button" %>```
With the helper mentioned above it could be just  ```<% link_to 'Home', dog_path(current_dog), class: "button" %>``` which is more readable and comprehensible. The following links could also be simplified. Use rake routes on the command line or localhost:3000/rails/info in the browser to see your route helpers.