Group methods related to text generation for GraphQL documentation into a module
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
class ProposalNotification < ActiveRecord::Base
|
||||
|
||||
include Graphqlable
|
||||
|
||||
belongs_to :author, class_name: 'User', foreign_key: 'author_id'
|
||||
belongs_to :proposal
|
||||
|
||||
|
||||
Reference in New Issue
Block a user