16 lines
334 B
16 lines
334 B
class Form::Common::Pages::Organisation < ::Form::Page |
|
def initialize(id, hsh, subsection) |
|
super |
|
@id = "organisation" |
|
end |
|
|
|
def questions |
|
@questions ||= [ |
|
Form::Common::Questions::OwningOrganisationId.new(nil, nil, self), |
|
] |
|
end |
|
|
|
def routed_to?(_log, current_user) |
|
!!current_user&.support? |
|
end |
|
end
|
|
|