修改application_record里的allow_sync_to_trusti

chromesetting
SylorHuang 5 years ago
parent f6a57b5c92
commit 7b304da2da

@ -14,7 +14,6 @@ class ApplicationRecord < ActiveRecord::Base
end end
def allow_sync_to_trustie? def allow_sync_to_trustie?
true Rails.env.production? && EduSetting.get('host_name') == 'https://www.educoder.net'
# Rails.env.production? && EduSetting.get('host_name') == 'https://www.educoder.net'
end end
end end

Loading…
Cancel
Save