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 repositories_controller_spec.rb

Dombi Attila2d96ddfc8c12
diff --git a/app/controllers/repositories_controller.rb b/app/controllers/repositories_controller.rb
index 315c314b3a2..08cb4596df0 100644
--- a/app/controllers/repositories_controller.rb
+++ b/app/controllers/repositories_controller.rb
@@ -46,7 +46,7 @@ class RepositoriesController < ApplicationController
before_action :find_project_by_project_id
before_action :authorize
- before_action :find_repository, except: %i[edit update create destroy destroy_info]
+ before_action :find_repository, except: %i[update create destroy destroy_info]
accept_key_auth :revisions
rescue_from OpenProject::SCM::Exceptions::SCMError, with: :show_error_command_failed