Skip to content

Commit

Permalink
DocAssignment can have a method or a class not both
Browse files Browse the repository at this point in the history
  • Loading branch information
schneems committed Jul 16, 2018
1 parent 1aa8c16 commit 440c79f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/models/doc_assignment.rb
@@ -1,7 +1,7 @@
class DocAssignment < ActiveRecord::Base
belongs_to :repo_subscription
belongs_to :doc_method
belongs_to :doc_class
belongs_to :doc_method, optional: true
belongs_to :doc_class, optional: true

delegate :user, to: :repo_subscription
end

0 comments on commit 440c79f

Please sign in to comment.