Update ifoapp_controller.rb