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.
17 lines
320 B
17 lines
320 B
2 years ago
|
class Form::Common::Pages::CreatedBy < ::Form::Page
|
||
3 years ago
|
def initialize(id, hsh, subsection)
|
||
|
super
|
||
|
@id = "created_by"
|
||
|
end
|
||
|
|
||
|
def questions
|
||
2 years ago
|
@questions ||= [
|
||
2 years ago
|
Form::Common::Questions::CreatedById.new(nil, nil, self),
|
||
3 years ago
|
]
|
||
|
end
|
||
|
|
||
2 years ago
|
def routed_to?(_log, current_user)
|
||
3 years ago
|
!!current_user&.support?
|
||
3 years ago
|
end
|
||
|
end
|