From 99708e043483214e35d588df93a1a8e800514058 Mon Sep 17 00:00:00 2001 From: Mitsuhiro Shibuya Date: Mon, 25 Apr 2022 18:32:29 +0900 Subject: [PATCH] Allow configuration of Navbar css class Refs. #3507 --- .rubocop.yml | 2 +- app/views/layouts/rails_admin/application.html.erb | 2 +- lib/rails_admin/config.rb | 4 ++++ spec/integration/rails_admin_spec.rb | 14 ++++++++++++++ 4 files changed, 20 insertions(+), 2 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index f9e7add9f9..f71dddc276 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -118,7 +118,7 @@ Metrics/MethodLength: Max: 29 # TODO: Lower to 15 Metrics/ModuleLength: - Max: 217 # TODO: Lower to 100 + Max: 219 # TODO: Lower to 100 Metrics/ParameterLists: Max: 8 # TODO: Lower to 4 diff --git a/app/views/layouts/rails_admin/application.html.erb b/app/views/layouts/rails_admin/application.html.erb index 9c635339ac..30b976fd07 100644 --- a/app/views/layouts/rails_admin/application.html.erb +++ b/app/views/layouts/rails_admin/application.html.erb @@ -5,7 +5,7 @@
" id="admin-js">
-