Compact code for issue category routes. Fix #294