+ if current_admin.delete_token
+ flash[:notice] = I18n.t('flash.notice.destroyed', :model => Admin.human_attribute_name(:authentication_token))
+ format.html { redirect_to :action => :auth_token}
+ else
+ flash[:notice] = I18n.t('flash.notice.not_destroyed', :model => Admin.human_attribute_name(:authentication_token))
+ format.html { render action: "auth_token" }
+ end