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 rubocop errors
Behrokh Satarnejad63c069ad6db3
diff --git a/app/components/admin/design_header_component.rb b/app/components/admin/design_header_component.rbindex 6519b8693b4..bbcf0c56f06 100644--- a/app/components/admin/design_header_component.rb+++ b/app/components/admin/design_header_component.rb@@ -31,7 +31,9 @@module Adminclass DesignHeaderComponent < ApplicationComponentdef initialize(title:, selected:)+ superraise "selected must 1, 2 or 3" if [1, 2, 3].exclude?(selected)+@title = title@selected = selectedenddiff --git a/app/controllers/custom_styles_controller.rb b/app/controllers/custom_styles_controller.rbindex 23c3077585b..704f8186ff1 100644--- a/app/controllers/custom_styles_controller.rb+++ b/app/controllers/custom_styles_controller.rb@@ -160,7 +160,6 @@ class CustomStylesController < ApplicationControllercall.on_failure doflash[:error] = call.messageend-redirect_back(fallback_location: root_path)end