If the code is not following 'restful:*Controller', and instead just specify the controller name, default it to use restful.

Signed-off-by: crynobone <crynobone@gmail.com>