Add restful support to controllers
Fix non - restful routing