mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-16 23:30:12 +01:00
Fix the undefined reference to Staleness
Not sure what's going on with Rails' autoloading here, so fix it the ruby way by using plain ol' `require`
This commit is contained in:
parent
c19be59ca5
commit
c3a13bca16
2 changed files with 3 additions and 0 deletions
|
|
@ -1,3 +1,5 @@
|
||||||
|
require 'staleness'
|
||||||
|
|
||||||
module TodosHelper
|
module TodosHelper
|
||||||
|
|
||||||
# === helpers for rendering container
|
# === helpers for rendering container
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
require 'active_support/all'
|
require 'active_support/all'
|
||||||
|
require 'user_time'
|
||||||
|
|
||||||
class Staleness
|
class Staleness
|
||||||
SECONDS_PER_DAY = 86400
|
SECONDS_PER_DAY = 86400
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue