mirror of
https://github.com/redmine/redmine.git
synced 2026-02-27 00:51:21 +01: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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user