You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
388 B
20 lines
388 B
2 years ago
|
class Form::Common::Pages::CreatedBy < ::Form::Page
|
||
2 years ago
|
def initialize(id, hsh, subsection)
|
||
|
super
|
||
|
@id = "created_by"
|
||
|
@header = ""
|
||
|
@description = ""
|
||
|
@subsection = subsection
|
||
|
end
|
||
|
|
||
|
def questions
|
||
2 years ago
|
@questions ||= [
|
||
2 years ago
|
Form::Common::Questions::CreatedById.new(nil, nil, self),
|
||
2 years ago
|
]
|
||
|
end
|
||
|
|
||
2 years ago
|
def routed_to?(_log, current_user)
|
||
2 years ago
|
!!current_user&.support?
|
||
2 years ago
|
end
|
||
|
end
|