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