Nope, only if it is nil!


On 14 February 2014 10:53, hrishimittal <notifications@github.com> wrote:

> In app/helpers/contacts_helper.rb:
>
> > @@ -0,0 +1,30 @@
> > +module ContactsHelper
> > +  def enforce_label(type, label='Other')
> > +    if type
>
> Ok, that's better. But does it check if name is blank?
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/ministryofjustice/courtfinder/pull/103/files#r9744940>
> .
>