Merge pull request #2138 from TracksApp/fix-missing-staleness-class

Fix the undefined reference to Staleness
This commit is contained in:
Matt Rogers 2018-11-12 09:06:23 -06:00 committed by GitHub
commit d24b9d9aa1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View file

@ -1,3 +1,5 @@
require 'staleness'
module TodosHelper
# === helpers for rendering container

View file

@ -1,4 +1,5 @@
require 'active_support/all'
require 'user_time'
class Staleness
SECONDS_PER_DAY = 86400