<% if @upcoming_cons.present? -%>
	<h1>Upcoming conventions</h1>

	<%= render :collection => @upcoming_cons, :partial => "convention" %>
<% end -%>

<% if @past_cons.present? -%>
	<h1>Past conventions</h1>
  
  <%= render :collection => @past_cons, :partial => "convention" %>
<% end -%>

<% if current_user.try(:can_create?, Convention) -%>
  <%= link_to "Add a new convention", new_convention_path %>
<% end -%>
<% if @upcoming_cons.present? -%>
	<h1>Upcoming conventions</h1>

	<%= render :collection => @upcoming_cons, :partial => "convention" %>
<% end -%>

<% if @past_cons.present? -%>
	<h1>Past conventions</h1>
  
  <%= render :collection => @past_cons, :partial => "convention" %>
<% end -%>

<% if can? :create, Convention -%>
  <%= link_to "Add a new convention", new_convention_path %>
<% end -%>

Fix check for whether we can add a convention
Fix check for whether we can add a convention
