To meet our code standards you should use brackets here. And sometimes a route won't have its short name so could you rewrite this method to reflect this requirement?