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

chore[Op#50212]: Remove unused methods

Kabiru Mwenjabf45f9cab2a6
diff --git a/modules/storages/app/components/storages/admin/forms/oauth_client_form_component.rb b/modules/storages/app/components/storages/admin/forms/oauth_client_form_component.rb
index a5a6269cd4d..5f2876e6edb 100644
--- a/modules/storages/app/components/storages/admin/forms/oauth_client_form_component.rb
+++ b/modules/storages/app/components/storages/admin/forms/oauth_client_form_component.rb
@@ -39,21 +39,5 @@ module Storages::Admin::Forms
super(oauth_client, **options)
@storage = storage
end
-
- def form_url
- if oauth_client.persisted?
- Rails.application.routes.url_helpers.new_admin_settings_storage_oauth_client_path(storage)
- else
- Rails.application.routes.url_helpers.admin_settings_storage_oauth_client_path(storage)
- end
- end
-
- def form_method
- if oauth_client.persisted?
- :patch
- else
- :post
- end
- end
end
end