Changed confirm: into data: {:confirm} (deprecation in rails 4.1)
Trying to fix new admin creation.