hotfix: new candidate policy

Merge branch 'develop'
This commit is contained in:
Mark Moser 2016-11-11 16:19:54 -06:00
commit 3b71ae09dc

View File

@ -4,7 +4,7 @@
<main class="summary_tpl"> <main class="summary_tpl">
<%= link_to(admin_new_candidate_path, { class: 'secondary-btn' }) do %> <%= link_to(admin_new_candidate_path, { class: 'secondary-btn' }) do %>
<button>Create New Candidate</button> <button>Create New Candidate</button>
<% end if policy(User).create? %> <% end if policy(Candidate).create? %>
<table cellspacing="0" cellpadding="0"> <table cellspacing="0" cellpadding="0">
<tr> <tr>