Updates JS toolbar help button to use the new route (#39111, #40137).

git-svn-id: https://svn.redmine.org/redmine/trunk@22722 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Marius Balteanu
2024-02-19 20:58:13 +00:00
parent 56f3a4dac3
commit 4607e90b43
4 changed files with 6 additions and 18 deletions

View File

@@ -407,7 +407,7 @@ Rails.application.routes.draw do
get 'robots.:format', :to => 'welcome#robots', :constraints => {:format => 'txt'}
match 'help/wiki_syntax/(:type)', :controller => 'help', :action => 'show_wiki_syntax', :via => :get, :constraints => { :type => /detailed/ }
get 'help/wiki_syntax/(:type)', :controller => 'help', :action => 'show_wiki_syntax', :constraints => { :type => /detailed/ }, as: 'help_wiki_syntax'
Redmine::Plugin.directory.glob("*/config/routes.rb").sort.each do |plugin_routes_path|
instance_eval(plugin_routes_path.read, plugin_routes_path.to_s)