Fixed response_controller.rb flow