Adds route for code highlighting languages page (#39111, #40137).

git-svn-id: https://svn.redmine.org/redmine/trunk@22732 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Marius Balteanu
2024-02-25 21:41:14 +00:00
parent 0d9700268a
commit eef8f625c8
77 changed files with 87 additions and 73 deletions

View File

@@ -28,4 +28,8 @@ class HelpController < ApplicationController
end
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
end
end