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 rubocup errors
Behrokh Satarnejad897e27e2d69a
diff --git a/app/controllers/custom_styles_controller.rb b/app/controllers/custom_styles_controller.rbindex 1158109c376..984cb9094a6 100644--- a/app/controllers/custom_styles_controller.rb+++ b/app/controllers/custom_styles_controller.rb@@ -52,7 +52,7 @@ class CustomStylesController < ApplicationController@current_theme = @custom_style.theme@theme_options = options_for_theme_selectif params[:tab].blank?- redirect_to tab: 'interface'+ redirect_to tab: "interface"endenddiff --git a/app/helpers/custom_styles_helper.rb b/app/helpers/custom_styles_helper.rbindex bc61421c8e3..86d1b6519c8 100644--- a/app/helpers/custom_styles_helper.rb+++ b/app/helpers/custom_styles_helper.rb@@ -45,7 +45,7 @@ module CustomStylesHelpername: "pdf_export_styles",partial: "custom_styles/pdf_export_styles",path: custom_style_path(tab: :pdf_export_styles),- label: t(:'admin.custom_styles.tab_pdf_export_styles')+ label: t(:"admin.custom_styles.tab_pdf_export_styles")}]enddiff --git a/spec/controllers/custom_styles_controller_spec.rb b/spec/controllers/custom_styles_controller_spec.rbindex 025f45c6bdb..51f49e52371 100644--- a/spec/controllers/custom_styles_controller_spec.rb+++ b/spec/controllers/custom_styles_controller_spec.rb@@ -41,7 +41,7 @@ RSpec.describe CustomStylesController docontext "when active token exists", with_ee: %i[define_custom_style] doit "renders show" do- expect(subject).to redirect_to action: :show, tab: 'interface'+ expect(subject).to redirect_to action: :show, tab: "interface"expect(response).to be_redirectendenddiff --git a/spec/features/custom_styles/tabs_spec.rb b/spec/features/custom_styles/tabs_spec.rbindex 0548b7fe97a..ba981d72be9 100644--- a/spec/features/custom_styles/tabs_spec.rb+++ b/spec/features/custom_styles/tabs_spec.rb@@ -43,7 +43,7 @@ RSpec.describe "interface tab" doendcontext "with EE token", with_ee: %i[define_custom_style] do- let(:custom_style) { create "custom_style_with_logo" }+ let(:custom_style) { create (:custom_style_with_logo) }before dologin_as(admin)