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
334 B
17 lines
334 B
2 years ago
|
class Form::Common::Pages::Organisation < ::Form::Page
|
||
2 years ago
|
def initialize(id, hsh, subsection)
|
||
|
super
|
||
|
@id = "organisation"
|
||
|
end
|
||
|
|
||
|
def questions
|
||
2 years ago
|
@questions ||= [
|
||
2 years ago
|
Form::Common::Questions::OwningOrganisationId.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
|