Update to match docs
Merge pull request #2 from davad/patch-1

Update application_controller to match docs