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