Implemented edit acion for the tickets controller