Fix route reference in shared/_alert so that it can be shared

Causes errors in custom admin sections otherwise.

Fixes #2564