Add users resources and paginate users index

This commit is contained in:
Jason Denney
2012-12-17 22:24:31 -05:00
parent 939ea5b9db
commit d5b312fa54
3 changed files with 4 additions and 0 deletions
+1
View File
@@ -24,4 +24,5 @@
= link_to t('.edit', :default => t("helpers.links.edit")), edit_user_path(user), :class => 'btn btn-mini'
= link_to t('.destroy', :default => t("helpers.links.destroy")), user_path(user), :method => :delete, :confirm => t('.confirm', :default => t("helpers.links.confirm", :default => 'Are you sure?')), :class => 'btn btn-mini btn-danger'
= will_paginate users
= link_to t('.new', :default => t("helpers.links.new")), new_user_path, :class => 'btn btn-primary'