Correction of the code for activeadmin 1.1