typo in submissionS

This commit is contained in:
yqbk
2016-07-05 15:27:49 +02:00
parent 16206cf58f
commit 4bb8c79150

View File

@ -10,7 +10,7 @@ class Exercise < ActiveRecord::Base
after_initialize :set_default_values
belongs_to :execution_environment
has_many :submission
has_many :submissions
has_many :external_users, source: :user, source_type: ExternalUser, through: :submissions
has_many :internal_users, source: :user, source_type: InternalUser, through: :submissions