Update application_controller.rb

Fixing ensure_persistence rendering json error