Fixed issue in Controller\Rest
Merge pull request #204 from AntonShevchuk/master

Fixed issue in Controller\Rest