Commit a2fc9a99 authored by jz143's avatar jz143

fixing bundle identifier

parent 60619896
......@@ -11,7 +11,13 @@ class App < ActiveRecord::Base
def ios_application_identifier
'edu.duke.colab.' + self.id.to_s + '_' + self.bundle_identifier_suffix
# i made a mistake to use '_' in bundle identifiers
# this is fixed on 2015-12-1. This check is added for backward compatibility
if created_at < Date.new(2015, 12, 1)
return 'edu.duke.colab.' + self.id.to_s + '_' + self.bundle_identifier_suffix
end
'edu.duke.colab.' + self.id.to_s + '-' + self.bundle_identifier_suffix
end
def author_display_name
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment