7 lines
173 B
Ruby
7 lines
173 B
Ruby
class Request < Prompt
|
|
belongs_to :challenge_signup, touch: true, inverse_of: :requests
|
|
|
|
def prompt_restriction
|
|
collection&.challenge&.request_restriction
|
|
end
|
|
end
|