Purge UserTime from app/*

This commit is contained in:
Dan Rice 2014-06-12 21:24:31 -04:00
parent 7a3f90a020
commit 622291d98d
7 changed files with 10 additions and 12 deletions

View file

@ -29,7 +29,7 @@ module ApplicationHelper
end
def days_from_today(date)
(date.in_time_zone.to_date - UserTime.new(current_user).date).to_i
(date.in_time_zone.to_date - Date.current).to_i
end
# Check due date in comparison to today's date Flag up date appropriately with