Reorganize path to controller mapping