Use the easiest way to finish it. I recommended my way of doing it because
we can get it finished today. We can and will revisit this and do a proper
job later, but I want this issue closed asap.


On Mon, Mar 17, 2014 at 4:06 PM, john irving <notifications@github.com>wrote:

> In app/views/application/_groups_dropdown.html.haml:
>
> > @@ -5,5 +5,6 @@
> >    %ul.dropdown-menu
> >      #group-dropdown-items
> >      %li.group-item.group-links
> > -      =link_to t(:request_new_group), new_group_path, class: 'new-group'
> > +      - if can? :create, Group.new
>
> @robguthrie <https://github.com/robguthrie>
> we added an ability, which is tidy, apart from this instance where we need
> to be able to refer to a Group object
>
> my gut feeling is that referencing a model in a view like this is gross,
> but I think of see a tidy way to do it for something which is in all the
> logged-in views.
> open to suggestions
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/loomio/loomio/pull/1394/files#r10644502>
> .
>