Commit f8b37fcb authored by Zac Wood's avatar Zac Wood

change update to use proper path

parent 23d46cc9
Pipeline #5334 passed with stage
in 11 seconds
require 'time'
module Update
FILE_NAME = "db/data/last_update.txt".freeze
FILE_NAME = Rails.root.join("db", "data", "last_update.txt").freeze
def self.last_update_date
if File.exist?(FILE_NAME)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment