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

fixup! clean useless code

Christophe Bliardd1cb1058b9cb
diff --git a/lib/api/v3/days/day_representer.rb b/lib/api/v3/days/day_representer.rb
index 03229601d18..08b0599c513 100644
--- a/lib/api/v3/days/day_representer.rb
+++ b/lib/api/v3/days/day_representer.rb
@@ -28,8 +28,6 @@
module API::V3::Days
class DayRepresenter < ::API::Decorators::Single
- # include ::API::Caching::CachedRepresenter
-
property :date
property :name
property :working
diff --git a/lib/api/v3/days/days_api.rb b/lib/api/v3/days/days_api.rb
index 81fcef3fdf3..2fa0b4db9c5 100644
--- a/lib/api/v3/days/days_api.rb
+++ b/lib/api/v3/days/days_api.rb
@@ -36,7 +36,6 @@ module API::V3::Days
get &::API::V3::Utilities::Endpoints::Index.new(
model: Day,
- render_representer: DayCollectionRepresenter,
self_path: -> { api_v3_paths.days }
).mount
end