Update trigger_details_controller.rb