transfigured edit buttons to edit links; in events controller,
substituted reditect_to :back with render:edit