Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Fix reference of PROVIDER_TYPE after it got moved back to the model.

Wieland Lindenthalf4d6909d4eb9
diff --git a/modules/storages/app/views/storages/admin/_form.html.erb b/modules/storages/app/views/storages/admin/_form.html.erb
index a12653cad2e..6e9f127c905 100644
--- a/modules/storages/app/views/storages/admin/_form.html.erb
+++ b/modules/storages/app/views/storages/admin/_form.html.erb
@@ -33,7 +33,7 @@ See COPYRIGHT and LICENSE files for more details.
<section class="form--section">
<div class="form--field -required">
<%= f.select :provider_type,
- ::Storages::Storages::BaseContract::PROVIDER_TYPES.map { |provider_type| [I18n.t("storages.provider_types.#{provider_type}"), provider_type] },
+ ::Storages::Storage::PROVIDER_TYPES.map { |provider_type| [I18n.t("storages.provider_types.#{provider_type}"), provider_type] },
selected: 'nextcloud',
container_class: '-slim' %>
</div>