Correctly handle actions with no path prefix