mirror of
https://github.com/meineerde/redmine.git
synced 2026-02-01 03:57:15 +00:00
Fixes rubocop offense (#42352).
git-svn-id: https://svn.redmine.org/redmine/trunk@23533 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
77c6556ea7
commit
8cd7d5bdf7
@ -111,6 +111,7 @@ class QueriesController < ApplicationController
|
||||
def current_menu_item
|
||||
return unless @query
|
||||
return if query_layout == 'admin'
|
||||
|
||||
@query.queried_class.to_s.underscore.pluralize.to_sym
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user