diff --git a/app/views/admin/candidate/index.html.erb b/app/views/admin/candidate/index.html.erb index 0c29e2e..130c99e 100644 --- a/app/views/admin/candidate/index.html.erb +++ b/app/views/admin/candidate/index.html.erb @@ -4,7 +4,7 @@
<%= link_to(admin_new_candidate_path, { class: 'secondary-btn' }) do %> - <% end if policy(User).create? %> + <% end if policy(Candidate).create? %>