fix typo

There was an errant `}`, should've been a `)`. Caught it when running `ampersand gen router foo`.