change controller scaffold template in order to build resource params