init kaminari

This commit is contained in:
Mark Moser committed 2017-02-24 14:27:38 -06:00
1 parent 7bb795e379
commit ac71223b6b
5 files changed
+28

No files matched your search

@@ -14,6 +14,7 @@ module Admin
@candidates = Candidate.where(completed: true)
.includes(:recruiter)
.order("#{sort_column} #{sort_direction}")
.page(params[:page])
end
def view
+1
View File
@@ -24,4 +24,5 @@
</tr>
<% end %>
</table>
<%= paginate @candidates %>
</main>