Made badge code not show up in admin pages
Added controller context to configured attributes