Move edit controller from admin controller to front controller