corrected REST configuration in main.php
Merge pull request #9 from muya/master

corrected REST config in main config