mirror of
https://github.com/meineerde/redmine.git
synced 2026-02-01 03:57:15 +00:00
Fix RuboCop Lint/UselessConstantScoping (#41884).
git-svn-id: https://svn.redmine.org/redmine/trunk@23635 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
626bd9efe2
commit
065a44749d
@ -125,6 +125,7 @@ module Redmine
|
||||
'java_script' => 'javascript',
|
||||
'xhtml' => 'html'
|
||||
}
|
||||
private_constant :LANG_ALIASES
|
||||
|
||||
def find_lexer(language)
|
||||
::Rouge::Lexer.find(language) ||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user