Nope I think that will cause a method missing on nil error.



On Mon, Aug 19, 2013 at 12:39 PM, john irving <notifications@github.com>wrote:

> In app/views/discussions/_discussion_preview.html.haml:
>
> > @@ -14,26 +19,26 @@
> >            %span.activity-count.label.label-info
> >              = discussion_activity
> >        .discussion-date-info
> > -        -if discussion.current_motion
> > +        -if current_motion
> >            - if discussion.current_motion_
> closing_at
> >              .proposal-close-date= "#{time_ago_in_words(discussion.current_motion_closing_at)} until close"
>
> same here
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/loomio/loomio/pull/980/files#r5833169>
> .
>