lib/view.rb in runeblog-0.2.35 vs lib/view.rb in runeblog-0.2.36
- old
+ new
@@ -59,10 +59,10 @@
@can_publish
end
def recent?(file)
log!(enter: __method__, args: [file])
- File.mtime(file) > File.mtime("#{dir()}/last_published")
+ File.mtime(file) > File.mtime("#{self.dir()}/last_published")
rescue
true
end
end