Change a method that edit button fires from POST to GET