Only match when projectID is a uuid

Merged Cole Erickson requested to merge fix-project-appbar-only-on-projects-page into release-1.1.0

The logic for deciding whether or not to show the project appbar currently messes up on routes like /projects/activity and /projects/new. This merge request updates that logic so the project appbar is only shown for routes that match /projects/:project_id where project_id matches a regex UUID pattern.

Before:

image

Now:

image

Merge request reports