Whoops. You left in a debugger line, I can leave in a print statement :-P

Fixed.


On Fri, Nov 1, 2013 at 4:15 PM, tobyk100 <notifications@github.com> wrote:

> In app/helpers/application_helper.rb:
>
> > @@ -38,7 +38,20 @@ def phone?(agent = request.user_agent)
> >    end
> >
> >    def youtube_url(code)
> > -    "https://www.youtubeeducation.com/watch?v=#{code}"
> > +    args = {
> > +      v: code,
> > +      modestbranding: 1,
> > +      rel: 0,
> > +      showinfo: 1
> > +    }
> > +    if language != 'en'
> > +      args.merge!(
> > +        cc_lang_pref: language,
> > +        cc_load_policy: 1
> > +      )
> > +    end
> > +    p "https://www.youtubeeducation.com/embed/#{code}/?#{args.to_query}"
>
> Is this how we're handling logging or is this debugging?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/code-dot-org/dashboard/pull/111/files#r7380279>
> .
>