fuck logic

This commit is contained in:
Georg G 2016-01-05 21:06:52 +01:00
parent 0deb4c4ccc
commit 615d7152d2

View file

@ -253,6 +253,6 @@ class User < ActiveRecord::Base
end end
def can_export? def can_export?
!self.export_processing? && !self.export_created_at.nil? && Time.now > self.export_created_at.in(1.week) !self.export_processing? || (!self.export_created_at.nil? && Time.now > self.export_created_at.in(1.week))
end end
end end