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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Fix codeclimate issues
Henriette Dinger0de87d342085
diff --git a/lib/api/v3/projects/project_representer.rb b/lib/api/v3/projects/project_representer.rbindex 56f12a33358..8a046f01228 100644--- a/lib/api/v3/projects/project_representer.rb+++ b/lib/api/v3/projects/project_representer.rb@@ -66,11 +66,11 @@ module APIcache_if: -> {current_user_allowed_to(:view_work_packages, context: represented)} do- {href: api_v3_paths.work_packages_by_project(represented.id)}+ { href: api_v3_paths.work_packages_by_project(represented.id) }endlink :categories do- {href: api_v3_paths.categories_by_project(represented.id)}+ { href: api_v3_paths.categories_by_project(represented.id) }endlink :versions,@@ -78,7 +78,7 @@ module APIcurrent_user_allowed_to(:view_work_packages, context: represented) ||current_user_allowed_to(:manage_versions, context: represented)} do- {href: api_v3_paths.versions_by_project(represented.id)}+ { href: api_v3_paths.versions_by_project(represented.id) }endlink :memberships,@@ -86,7 +86,7 @@ module APIcurrent_user_allowed_to(:view_members, context: represented)} do{- href: api_v3_paths.path_for(:memberships, filters: [{project: {operator: "=", values: [represented.id.to_s]}}]),+ href: api_v3_paths.path_for(:memberships, filters: [{ project: { operator: "=", values: [represented.id.to_s] }}]),}end@@ -95,7 +95,7 @@ module APIcurrent_user_allowed_to(:view_work_packages, context: represented) ||current_user_allowed_to(:manage_types, context: represented)} do- {href: api_v3_paths.types_by_project(represented.id)}+ { href: api_v3_paths.types_by_project(represented.id) }endlink :update,