Updating final user views

This commit is contained in:
2014-04-10 21:01:42 -07:00
parent bedd80d555
commit cb0f203f82
5 changed files with 27 additions and 25 deletions

View File

@@ -15,6 +15,7 @@ class HomeController < ApplicationController
end
# Fun Stats
@featured_resource = Resource.where("picture_file_name IS NOT NULL").sample
@num_certs = UserCertification.count
@recent_certs = UserCertification.where("created_at > ?", DateTime.now - 7.days).count