8 lines
173 B
Ruby
8 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
|