Fixing issue #12

Hi Dayle Rees,

I fixed the issue #12, so the controller generator works correctly with the --restful param.