Pajk/rails-restapi — pull request #6 by iNecas (2012-04-26 08:10:53+00:00)
Title: fix 'uninitialized constant' error when API controllers in submodules

In case the controllers for API in the app were in submodule, let's say
`Api::UsersController`, there was 'unitialized constant' error when loading
restapi engine. Changing the mechanism for getting a parent so that it works
for this case.