diff options
author | Marius Balteanu <marius.balteanu@zitec.com> | 2024-03-03 22:24:58 +0000 |
---|---|---|
committer | Marius Balteanu <marius.balteanu@zitec.com> | 2024-03-03 22:24:58 +0000 |
commit | 54aa8102406d69a56b8927de8eaa529794c37ad6 (patch) | |
tree | 3218923432ac802ef4542a563addae6fbec720ef /app/controllers/help_controller.rb | |
parent | 18cb44684b79d23dc1c45e4a9eeeb73dda5e9194 (diff) | |
download | redmine-54aa8102406d69a56b8927de8eaa529794c37ad6.tar.gz redmine-54aa8102406d69a56b8927de8eaa529794c37ad6.zip |
Fix rubocop warning (#39111, #40137).
git-svn-id: https://svn.redmine.org/redmine/trunk@22757 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/help_controller.rb')
-rw-r--r-- | app/controllers/help_controller.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/help_controller.rb b/app/controllers/help_controller.rb index e6da130e0..f085e18da 100644 --- a/app/controllers/help_controller.rb +++ b/app/controllers/help_controller.rb @@ -26,10 +26,10 @@ class HelpController < ApplicationController unless lookup_context.exists?(template) lang = "en" end - render template: "help/wiki_syntax/#{Setting.text_formatting}/#{lang}/wiki_syntax_#{type}#{Setting.text_formatting}", :layout => nil + render template: "help/wiki_syntax/#{Setting.text_formatting}/#{lang}/wiki_syntax_#{type}#{Setting.text_formatting}", layout: nil end def show_code_highlighting - render template: "help/wiki_syntax/code_highlighting_languages", :layout => nil + render template: "help/wiki_syntax/code_highlighting_languages", layout: nil end end |