diff --git a/public/help/wiki_syntax.css b/app/assets/stylesheets/wiki_syntax.css similarity index 100% rename from public/help/wiki_syntax.css rename to app/assets/stylesheets/wiki_syntax.css diff --git a/public/help/wiki_syntax_detailed.css b/app/assets/stylesheets/wiki_syntax_detailed.css similarity index 100% rename from public/help/wiki_syntax_detailed.css rename to app/assets/stylesheets/wiki_syntax_detailed.css diff --git a/app/controllers/help_controller.rb b/app/controllers/help_controller.rb new file mode 100644 index 000000000..12a8ceeea --- /dev/null +++ b/app/controllers/help_controller.rb @@ -0,0 +1,25 @@ +# frozen_string_literal: true + +# Redmine - project management software +# Copyright (C) 2006-2023 Jean-Philippe Lang +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + +class HelpController < ApplicationController + def show_wiki_syntax + type = params[:type].nil? ? "" : "#{params[:type]}_" + render :template => "help/wiki_syntax/#{current_language.to_s}/wiki_syntax_#{type}#{Setting.text_formatting}", :layout => nil + end +end diff --git a/public/help/code_highlighting_languages.html b/app/views/help/code_highlighting_languages.html similarity index 100% rename from public/help/code_highlighting_languages.html rename to app/views/help/code_highlighting_languages.html diff --git a/public/help/ar/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/ar/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/ar/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/ar/wiki_syntax_detailed_markdown.html diff --git a/public/help/ar/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/ar/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/ar/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/ar/wiki_syntax_detailed_textile.html diff --git a/public/help/ar/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/ar/wiki_syntax_markdown.html similarity index 100% rename from public/help/ar/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/ar/wiki_syntax_markdown.html diff --git a/public/help/ar/wiki_syntax_textile.html b/app/views/help/wiki_syntax/ar/wiki_syntax_textile.html similarity index 100% rename from public/help/ar/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/ar/wiki_syntax_textile.html diff --git a/public/help/az/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/az/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/az/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/az/wiki_syntax_detailed_markdown.html diff --git a/public/help/az/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/az/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/az/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/az/wiki_syntax_detailed_textile.html diff --git a/public/help/az/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/az/wiki_syntax_markdown.html similarity index 100% rename from public/help/az/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/az/wiki_syntax_markdown.html diff --git a/public/help/az/wiki_syntax_textile.html b/app/views/help/wiki_syntax/az/wiki_syntax_textile.html similarity index 100% rename from public/help/az/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/az/wiki_syntax_textile.html diff --git a/public/help/bg/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/bg/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/bg/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/bg/wiki_syntax_detailed_markdown.html diff --git a/public/help/bg/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/bg/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/bg/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/bg/wiki_syntax_detailed_textile.html diff --git a/public/help/bg/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/bg/wiki_syntax_markdown.html similarity index 100% rename from public/help/bg/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/bg/wiki_syntax_markdown.html diff --git a/public/help/bg/wiki_syntax_textile.html b/app/views/help/wiki_syntax/bg/wiki_syntax_textile.html similarity index 100% rename from public/help/bg/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/bg/wiki_syntax_textile.html diff --git a/public/help/bs/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/bs/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/bs/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/bs/wiki_syntax_detailed_markdown.html diff --git a/public/help/bs/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/bs/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/bs/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/bs/wiki_syntax_detailed_textile.html diff --git a/public/help/bs/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/bs/wiki_syntax_markdown.html similarity index 100% rename from public/help/bs/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/bs/wiki_syntax_markdown.html diff --git a/public/help/bs/wiki_syntax_textile.html b/app/views/help/wiki_syntax/bs/wiki_syntax_textile.html similarity index 100% rename from public/help/bs/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/bs/wiki_syntax_textile.html diff --git a/public/help/ca/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/ca/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/ca/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/ca/wiki_syntax_detailed_markdown.html diff --git a/public/help/ca/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/ca/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/ca/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/ca/wiki_syntax_detailed_textile.html diff --git a/public/help/ca/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/ca/wiki_syntax_markdown.html similarity index 100% rename from public/help/ca/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/ca/wiki_syntax_markdown.html diff --git a/public/help/ca/wiki_syntax_textile.html b/app/views/help/wiki_syntax/ca/wiki_syntax_textile.html similarity index 100% rename from public/help/ca/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/ca/wiki_syntax_textile.html diff --git a/public/help/cs/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/cs/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/cs/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/cs/wiki_syntax_detailed_markdown.html diff --git a/public/help/cs/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/cs/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/cs/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/cs/wiki_syntax_detailed_textile.html diff --git a/public/help/cs/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/cs/wiki_syntax_markdown.html similarity index 100% rename from public/help/cs/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/cs/wiki_syntax_markdown.html diff --git a/public/help/cs/wiki_syntax_textile.html b/app/views/help/wiki_syntax/cs/wiki_syntax_textile.html similarity index 100% rename from public/help/cs/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/cs/wiki_syntax_textile.html diff --git a/public/help/da/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/da/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/da/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/da/wiki_syntax_detailed_markdown.html diff --git a/public/help/da/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/da/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/da/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/da/wiki_syntax_detailed_textile.html diff --git a/public/help/da/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/da/wiki_syntax_markdown.html similarity index 100% rename from public/help/da/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/da/wiki_syntax_markdown.html diff --git a/public/help/da/wiki_syntax_textile.html b/app/views/help/wiki_syntax/da/wiki_syntax_textile.html similarity index 100% rename from public/help/da/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/da/wiki_syntax_textile.html diff --git a/public/help/de/wiki_syntax_common_mark.html b/app/views/help/wiki_syntax/de/wiki_syntax_common_mark.html similarity index 100% rename from public/help/de/wiki_syntax_common_mark.html rename to app/views/help/wiki_syntax/de/wiki_syntax_common_mark.html diff --git a/public/help/de/wiki_syntax_detailed_common_mark.html b/app/views/help/wiki_syntax/de/wiki_syntax_detailed_common_mark.html similarity index 100% rename from public/help/de/wiki_syntax_detailed_common_mark.html rename to app/views/help/wiki_syntax/de/wiki_syntax_detailed_common_mark.html diff --git a/public/help/de/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/de/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/de/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/de/wiki_syntax_detailed_markdown.html diff --git a/public/help/de/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/de/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/de/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/de/wiki_syntax_detailed_textile.html diff --git a/public/help/de/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/de/wiki_syntax_markdown.html similarity index 100% rename from public/help/de/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/de/wiki_syntax_markdown.html diff --git a/public/help/de/wiki_syntax_textile.html b/app/views/help/wiki_syntax/de/wiki_syntax_textile.html similarity index 100% rename from public/help/de/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/de/wiki_syntax_textile.html diff --git a/public/help/el/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/el/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/el/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/el/wiki_syntax_detailed_markdown.html diff --git a/public/help/el/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/el/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/el/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/el/wiki_syntax_detailed_textile.html diff --git a/public/help/el/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/el/wiki_syntax_markdown.html similarity index 100% rename from public/help/el/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/el/wiki_syntax_markdown.html diff --git a/public/help/el/wiki_syntax_textile.html b/app/views/help/wiki_syntax/el/wiki_syntax_textile.html similarity index 100% rename from public/help/el/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/el/wiki_syntax_textile.html diff --git a/public/help/en-gb/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/en-gb/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/en-gb/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/en-gb/wiki_syntax_detailed_markdown.html diff --git a/public/help/en-gb/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/en-gb/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/en-gb/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/en-gb/wiki_syntax_detailed_textile.html diff --git a/public/help/en-gb/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/en-gb/wiki_syntax_markdown.html similarity index 100% rename from public/help/en-gb/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/en-gb/wiki_syntax_markdown.html diff --git a/public/help/en-gb/wiki_syntax_textile.html b/app/views/help/wiki_syntax/en-gb/wiki_syntax_textile.html similarity index 100% rename from public/help/en-gb/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/en-gb/wiki_syntax_textile.html diff --git a/public/help/en/wiki_syntax_common_mark.html b/app/views/help/wiki_syntax/en/wiki_syntax_common_mark.html similarity index 100% rename from public/help/en/wiki_syntax_common_mark.html rename to app/views/help/wiki_syntax/en/wiki_syntax_common_mark.html diff --git a/public/help/en/wiki_syntax_detailed_common_mark.html b/app/views/help/wiki_syntax/en/wiki_syntax_detailed_common_mark.html similarity index 100% rename from public/help/en/wiki_syntax_detailed_common_mark.html rename to app/views/help/wiki_syntax/en/wiki_syntax_detailed_common_mark.html diff --git a/public/help/en/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/en/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/en/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/en/wiki_syntax_detailed_markdown.html diff --git a/public/help/en/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/en/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/en/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/en/wiki_syntax_detailed_textile.html diff --git a/public/help/en/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/en/wiki_syntax_markdown.html similarity index 100% rename from public/help/en/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/en/wiki_syntax_markdown.html diff --git a/public/help/en/wiki_syntax_textile.html b/app/views/help/wiki_syntax/en/wiki_syntax_textile.html similarity index 100% rename from public/help/en/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/en/wiki_syntax_textile.html diff --git a/public/help/es-pa/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/es-pa/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/es-pa/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/es-pa/wiki_syntax_detailed_markdown.html diff --git a/public/help/es-pa/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/es-pa/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/es-pa/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/es-pa/wiki_syntax_detailed_textile.html diff --git a/public/help/es-pa/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/es-pa/wiki_syntax_markdown.html similarity index 100% rename from public/help/es-pa/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/es-pa/wiki_syntax_markdown.html diff --git a/public/help/es-pa/wiki_syntax_textile.html b/app/views/help/wiki_syntax/es-pa/wiki_syntax_textile.html similarity index 100% rename from public/help/es-pa/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/es-pa/wiki_syntax_textile.html diff --git a/public/help/es/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/es/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/es/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/es/wiki_syntax_detailed_markdown.html diff --git a/public/help/es/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/es/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/es/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/es/wiki_syntax_detailed_textile.html diff --git a/public/help/es/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/es/wiki_syntax_markdown.html similarity index 100% rename from public/help/es/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/es/wiki_syntax_markdown.html diff --git a/public/help/es/wiki_syntax_textile.html b/app/views/help/wiki_syntax/es/wiki_syntax_textile.html similarity index 100% rename from public/help/es/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/es/wiki_syntax_textile.html diff --git a/public/help/et/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/et/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/et/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/et/wiki_syntax_detailed_markdown.html diff --git a/public/help/et/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/et/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/et/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/et/wiki_syntax_detailed_textile.html diff --git a/public/help/et/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/et/wiki_syntax_markdown.html similarity index 100% rename from public/help/et/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/et/wiki_syntax_markdown.html diff --git a/public/help/et/wiki_syntax_textile.html b/app/views/help/wiki_syntax/et/wiki_syntax_textile.html similarity index 100% rename from public/help/et/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/et/wiki_syntax_textile.html diff --git a/public/help/eu/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/eu/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/eu/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/eu/wiki_syntax_detailed_markdown.html diff --git a/public/help/eu/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/eu/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/eu/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/eu/wiki_syntax_detailed_textile.html diff --git a/public/help/eu/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/eu/wiki_syntax_markdown.html similarity index 100% rename from public/help/eu/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/eu/wiki_syntax_markdown.html diff --git a/public/help/eu/wiki_syntax_textile.html b/app/views/help/wiki_syntax/eu/wiki_syntax_textile.html similarity index 100% rename from public/help/eu/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/eu/wiki_syntax_textile.html diff --git a/public/help/fa/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/fa/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/fa/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/fa/wiki_syntax_detailed_markdown.html diff --git a/public/help/fa/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/fa/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/fa/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/fa/wiki_syntax_detailed_textile.html diff --git a/public/help/fa/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/fa/wiki_syntax_markdown.html similarity index 100% rename from public/help/fa/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/fa/wiki_syntax_markdown.html diff --git a/public/help/fa/wiki_syntax_textile.html b/app/views/help/wiki_syntax/fa/wiki_syntax_textile.html similarity index 100% rename from public/help/fa/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/fa/wiki_syntax_textile.html diff --git a/public/help/fi/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/fi/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/fi/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/fi/wiki_syntax_detailed_markdown.html diff --git a/public/help/fi/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/fi/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/fi/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/fi/wiki_syntax_detailed_textile.html diff --git a/public/help/fi/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/fi/wiki_syntax_markdown.html similarity index 100% rename from public/help/fi/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/fi/wiki_syntax_markdown.html diff --git a/public/help/fi/wiki_syntax_textile.html b/app/views/help/wiki_syntax/fi/wiki_syntax_textile.html similarity index 100% rename from public/help/fi/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/fi/wiki_syntax_textile.html diff --git a/public/help/fr/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/fr/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/fr/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/fr/wiki_syntax_detailed_markdown.html diff --git a/public/help/fr/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/fr/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/fr/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/fr/wiki_syntax_detailed_textile.html diff --git a/public/help/fr/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/fr/wiki_syntax_markdown.html similarity index 100% rename from public/help/fr/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/fr/wiki_syntax_markdown.html diff --git a/public/help/fr/wiki_syntax_textile.html b/app/views/help/wiki_syntax/fr/wiki_syntax_textile.html similarity index 100% rename from public/help/fr/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/fr/wiki_syntax_textile.html diff --git a/public/help/gl/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/gl/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/gl/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/gl/wiki_syntax_detailed_markdown.html diff --git a/public/help/gl/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/gl/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/gl/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/gl/wiki_syntax_detailed_textile.html diff --git a/public/help/gl/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/gl/wiki_syntax_markdown.html similarity index 100% rename from public/help/gl/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/gl/wiki_syntax_markdown.html diff --git a/public/help/gl/wiki_syntax_textile.html b/app/views/help/wiki_syntax/gl/wiki_syntax_textile.html similarity index 100% rename from public/help/gl/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/gl/wiki_syntax_textile.html diff --git a/public/help/he/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/he/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/he/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/he/wiki_syntax_detailed_markdown.html diff --git a/public/help/he/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/he/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/he/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/he/wiki_syntax_detailed_textile.html diff --git a/public/help/he/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/he/wiki_syntax_markdown.html similarity index 100% rename from public/help/he/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/he/wiki_syntax_markdown.html diff --git a/public/help/he/wiki_syntax_textile.html b/app/views/help/wiki_syntax/he/wiki_syntax_textile.html similarity index 100% rename from public/help/he/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/he/wiki_syntax_textile.html diff --git a/public/help/hr/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/hr/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/hr/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/hr/wiki_syntax_detailed_markdown.html diff --git a/public/help/hr/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/hr/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/hr/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/hr/wiki_syntax_detailed_textile.html diff --git a/public/help/hr/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/hr/wiki_syntax_markdown.html similarity index 100% rename from public/help/hr/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/hr/wiki_syntax_markdown.html diff --git a/public/help/hr/wiki_syntax_textile.html b/app/views/help/wiki_syntax/hr/wiki_syntax_textile.html similarity index 100% rename from public/help/hr/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/hr/wiki_syntax_textile.html diff --git a/public/help/hu/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/hu/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/hu/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/hu/wiki_syntax_detailed_markdown.html diff --git a/public/help/hu/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/hu/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/hu/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/hu/wiki_syntax_detailed_textile.html diff --git a/public/help/hu/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/hu/wiki_syntax_markdown.html similarity index 100% rename from public/help/hu/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/hu/wiki_syntax_markdown.html diff --git a/public/help/hu/wiki_syntax_textile.html b/app/views/help/wiki_syntax/hu/wiki_syntax_textile.html similarity index 100% rename from public/help/hu/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/hu/wiki_syntax_textile.html diff --git a/public/help/id/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/id/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/id/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/id/wiki_syntax_detailed_markdown.html diff --git a/public/help/id/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/id/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/id/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/id/wiki_syntax_detailed_textile.html diff --git a/public/help/id/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/id/wiki_syntax_markdown.html similarity index 100% rename from public/help/id/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/id/wiki_syntax_markdown.html diff --git a/public/help/id/wiki_syntax_textile.html b/app/views/help/wiki_syntax/id/wiki_syntax_textile.html similarity index 100% rename from public/help/id/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/id/wiki_syntax_textile.html diff --git a/public/help/it/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/it/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/it/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/it/wiki_syntax_detailed_markdown.html diff --git a/public/help/it/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/it/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/it/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/it/wiki_syntax_detailed_textile.html diff --git a/public/help/it/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/it/wiki_syntax_markdown.html similarity index 100% rename from public/help/it/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/it/wiki_syntax_markdown.html diff --git a/public/help/it/wiki_syntax_textile.html b/app/views/help/wiki_syntax/it/wiki_syntax_textile.html similarity index 100% rename from public/help/it/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/it/wiki_syntax_textile.html diff --git a/public/help/ja/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/ja/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/ja/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/ja/wiki_syntax_detailed_markdown.html diff --git a/public/help/ja/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/ja/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/ja/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/ja/wiki_syntax_detailed_textile.html diff --git a/public/help/ja/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/ja/wiki_syntax_markdown.html similarity index 100% rename from public/help/ja/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/ja/wiki_syntax_markdown.html diff --git a/public/help/ja/wiki_syntax_textile.html b/app/views/help/wiki_syntax/ja/wiki_syntax_textile.html similarity index 100% rename from public/help/ja/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/ja/wiki_syntax_textile.html diff --git a/public/help/ko/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/ko/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/ko/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/ko/wiki_syntax_detailed_markdown.html diff --git a/public/help/ko/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/ko/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/ko/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/ko/wiki_syntax_detailed_textile.html diff --git a/public/help/ko/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/ko/wiki_syntax_markdown.html similarity index 100% rename from public/help/ko/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/ko/wiki_syntax_markdown.html diff --git a/public/help/ko/wiki_syntax_textile.html b/app/views/help/wiki_syntax/ko/wiki_syntax_textile.html similarity index 100% rename from public/help/ko/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/ko/wiki_syntax_textile.html diff --git a/public/help/lt/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/lt/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/lt/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/lt/wiki_syntax_detailed_markdown.html diff --git a/public/help/lt/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/lt/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/lt/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/lt/wiki_syntax_detailed_textile.html diff --git a/public/help/lt/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/lt/wiki_syntax_markdown.html similarity index 100% rename from public/help/lt/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/lt/wiki_syntax_markdown.html diff --git a/public/help/lt/wiki_syntax_textile.html b/app/views/help/wiki_syntax/lt/wiki_syntax_textile.html similarity index 100% rename from public/help/lt/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/lt/wiki_syntax_textile.html diff --git a/public/help/lv/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/lv/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/lv/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/lv/wiki_syntax_detailed_markdown.html diff --git a/public/help/lv/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/lv/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/lv/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/lv/wiki_syntax_detailed_textile.html diff --git a/public/help/lv/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/lv/wiki_syntax_markdown.html similarity index 100% rename from public/help/lv/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/lv/wiki_syntax_markdown.html diff --git a/public/help/lv/wiki_syntax_textile.html b/app/views/help/wiki_syntax/lv/wiki_syntax_textile.html similarity index 100% rename from public/help/lv/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/lv/wiki_syntax_textile.html diff --git a/public/help/mk/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/mk/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/mk/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/mk/wiki_syntax_detailed_markdown.html diff --git a/public/help/mk/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/mk/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/mk/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/mk/wiki_syntax_detailed_textile.html diff --git a/public/help/mk/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/mk/wiki_syntax_markdown.html similarity index 100% rename from public/help/mk/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/mk/wiki_syntax_markdown.html diff --git a/public/help/mk/wiki_syntax_textile.html b/app/views/help/wiki_syntax/mk/wiki_syntax_textile.html similarity index 100% rename from public/help/mk/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/mk/wiki_syntax_textile.html diff --git a/public/help/mn/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/mn/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/mn/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/mn/wiki_syntax_detailed_markdown.html diff --git a/public/help/mn/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/mn/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/mn/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/mn/wiki_syntax_detailed_textile.html diff --git a/public/help/mn/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/mn/wiki_syntax_markdown.html similarity index 100% rename from public/help/mn/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/mn/wiki_syntax_markdown.html diff --git a/public/help/mn/wiki_syntax_textile.html b/app/views/help/wiki_syntax/mn/wiki_syntax_textile.html similarity index 100% rename from public/help/mn/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/mn/wiki_syntax_textile.html diff --git a/public/help/nl/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/nl/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/nl/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/nl/wiki_syntax_detailed_markdown.html diff --git a/public/help/nl/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/nl/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/nl/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/nl/wiki_syntax_detailed_textile.html diff --git a/public/help/nl/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/nl/wiki_syntax_markdown.html similarity index 100% rename from public/help/nl/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/nl/wiki_syntax_markdown.html diff --git a/public/help/nl/wiki_syntax_textile.html b/app/views/help/wiki_syntax/nl/wiki_syntax_textile.html similarity index 100% rename from public/help/nl/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/nl/wiki_syntax_textile.html diff --git a/public/help/no/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/no/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/no/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/no/wiki_syntax_detailed_markdown.html diff --git a/public/help/no/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/no/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/no/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/no/wiki_syntax_detailed_textile.html diff --git a/public/help/no/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/no/wiki_syntax_markdown.html similarity index 100% rename from public/help/no/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/no/wiki_syntax_markdown.html diff --git a/public/help/no/wiki_syntax_textile.html b/app/views/help/wiki_syntax/no/wiki_syntax_textile.html similarity index 100% rename from public/help/no/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/no/wiki_syntax_textile.html diff --git a/public/help/pl/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/pl/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/pl/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/pl/wiki_syntax_detailed_markdown.html diff --git a/public/help/pl/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/pl/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/pl/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/pl/wiki_syntax_detailed_textile.html diff --git a/public/help/pl/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/pl/wiki_syntax_markdown.html similarity index 100% rename from public/help/pl/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/pl/wiki_syntax_markdown.html diff --git a/public/help/pl/wiki_syntax_textile.html b/app/views/help/wiki_syntax/pl/wiki_syntax_textile.html similarity index 100% rename from public/help/pl/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/pl/wiki_syntax_textile.html diff --git a/public/help/pt-br/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/pt-br/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/pt-br/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/pt-br/wiki_syntax_detailed_markdown.html diff --git a/public/help/pt-br/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/pt-br/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/pt-br/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/pt-br/wiki_syntax_detailed_textile.html diff --git a/public/help/pt-br/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/pt-br/wiki_syntax_markdown.html similarity index 100% rename from public/help/pt-br/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/pt-br/wiki_syntax_markdown.html diff --git a/public/help/pt-br/wiki_syntax_textile.html b/app/views/help/wiki_syntax/pt-br/wiki_syntax_textile.html similarity index 100% rename from public/help/pt-br/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/pt-br/wiki_syntax_textile.html diff --git a/public/help/pt/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/pt/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/pt/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/pt/wiki_syntax_detailed_markdown.html diff --git a/public/help/pt/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/pt/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/pt/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/pt/wiki_syntax_detailed_textile.html diff --git a/public/help/pt/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/pt/wiki_syntax_markdown.html similarity index 100% rename from public/help/pt/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/pt/wiki_syntax_markdown.html diff --git a/public/help/pt/wiki_syntax_textile.html b/app/views/help/wiki_syntax/pt/wiki_syntax_textile.html similarity index 100% rename from public/help/pt/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/pt/wiki_syntax_textile.html diff --git a/public/help/ro/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/ro/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/ro/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/ro/wiki_syntax_detailed_markdown.html diff --git a/public/help/ro/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/ro/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/ro/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/ro/wiki_syntax_detailed_textile.html diff --git a/public/help/ro/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/ro/wiki_syntax_markdown.html similarity index 100% rename from public/help/ro/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/ro/wiki_syntax_markdown.html diff --git a/public/help/ro/wiki_syntax_textile.html b/app/views/help/wiki_syntax/ro/wiki_syntax_textile.html similarity index 100% rename from public/help/ro/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/ro/wiki_syntax_textile.html diff --git a/public/help/ru/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/ru/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/ru/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/ru/wiki_syntax_detailed_markdown.html diff --git a/public/help/ru/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/ru/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/ru/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/ru/wiki_syntax_detailed_textile.html diff --git a/public/help/ru/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/ru/wiki_syntax_markdown.html similarity index 100% rename from public/help/ru/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/ru/wiki_syntax_markdown.html diff --git a/public/help/ru/wiki_syntax_textile.html b/app/views/help/wiki_syntax/ru/wiki_syntax_textile.html similarity index 100% rename from public/help/ru/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/ru/wiki_syntax_textile.html diff --git a/public/help/sk/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/sk/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/sk/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/sk/wiki_syntax_detailed_markdown.html diff --git a/public/help/sk/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/sk/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/sk/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/sk/wiki_syntax_detailed_textile.html diff --git a/public/help/sk/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/sk/wiki_syntax_markdown.html similarity index 100% rename from public/help/sk/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/sk/wiki_syntax_markdown.html diff --git a/public/help/sk/wiki_syntax_textile.html b/app/views/help/wiki_syntax/sk/wiki_syntax_textile.html similarity index 100% rename from public/help/sk/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/sk/wiki_syntax_textile.html diff --git a/public/help/sl/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/sl/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/sl/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/sl/wiki_syntax_detailed_markdown.html diff --git a/public/help/sl/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/sl/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/sl/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/sl/wiki_syntax_detailed_textile.html diff --git a/public/help/sl/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/sl/wiki_syntax_markdown.html similarity index 100% rename from public/help/sl/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/sl/wiki_syntax_markdown.html diff --git a/public/help/sl/wiki_syntax_textile.html b/app/views/help/wiki_syntax/sl/wiki_syntax_textile.html similarity index 100% rename from public/help/sl/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/sl/wiki_syntax_textile.html diff --git a/public/help/sq/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/sq/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/sq/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/sq/wiki_syntax_detailed_markdown.html diff --git a/public/help/sq/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/sq/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/sq/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/sq/wiki_syntax_detailed_textile.html diff --git a/public/help/sq/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/sq/wiki_syntax_markdown.html similarity index 100% rename from public/help/sq/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/sq/wiki_syntax_markdown.html diff --git a/public/help/sq/wiki_syntax_textile.html b/app/views/help/wiki_syntax/sq/wiki_syntax_textile.html similarity index 100% rename from public/help/sq/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/sq/wiki_syntax_textile.html diff --git a/public/help/sr-yu/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/sr-yu/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/sr-yu/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/sr-yu/wiki_syntax_detailed_markdown.html diff --git a/public/help/sr-yu/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/sr-yu/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/sr-yu/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/sr-yu/wiki_syntax_detailed_textile.html diff --git a/public/help/sr-yu/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/sr-yu/wiki_syntax_markdown.html similarity index 100% rename from public/help/sr-yu/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/sr-yu/wiki_syntax_markdown.html diff --git a/public/help/sr-yu/wiki_syntax_textile.html b/app/views/help/wiki_syntax/sr-yu/wiki_syntax_textile.html similarity index 100% rename from public/help/sr-yu/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/sr-yu/wiki_syntax_textile.html diff --git a/public/help/sr/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/sr/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/sr/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/sr/wiki_syntax_detailed_markdown.html diff --git a/public/help/sr/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/sr/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/sr/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/sr/wiki_syntax_detailed_textile.html diff --git a/public/help/sr/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/sr/wiki_syntax_markdown.html similarity index 100% rename from public/help/sr/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/sr/wiki_syntax_markdown.html diff --git a/public/help/sr/wiki_syntax_textile.html b/app/views/help/wiki_syntax/sr/wiki_syntax_textile.html similarity index 100% rename from public/help/sr/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/sr/wiki_syntax_textile.html diff --git a/public/help/sv/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/sv/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/sv/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/sv/wiki_syntax_detailed_markdown.html diff --git a/public/help/sv/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/sv/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/sv/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/sv/wiki_syntax_detailed_textile.html diff --git a/public/help/sv/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/sv/wiki_syntax_markdown.html similarity index 100% rename from public/help/sv/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/sv/wiki_syntax_markdown.html diff --git a/public/help/sv/wiki_syntax_textile.html b/app/views/help/wiki_syntax/sv/wiki_syntax_textile.html similarity index 100% rename from public/help/sv/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/sv/wiki_syntax_textile.html diff --git a/public/help/ta-in/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/ta-in/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/ta-in/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/ta-in/wiki_syntax_detailed_markdown.html diff --git a/public/help/ta-in/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/ta-in/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/ta-in/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/ta-in/wiki_syntax_detailed_textile.html diff --git a/public/help/ta-in/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/ta-in/wiki_syntax_markdown.html similarity index 100% rename from public/help/ta-in/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/ta-in/wiki_syntax_markdown.html diff --git a/public/help/ta-in/wiki_syntax_textile.html b/app/views/help/wiki_syntax/ta-in/wiki_syntax_textile.html similarity index 100% rename from public/help/ta-in/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/ta-in/wiki_syntax_textile.html diff --git a/public/help/th/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/th/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/th/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/th/wiki_syntax_detailed_markdown.html diff --git a/public/help/th/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/th/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/th/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/th/wiki_syntax_detailed_textile.html diff --git a/public/help/th/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/th/wiki_syntax_markdown.html similarity index 100% rename from public/help/th/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/th/wiki_syntax_markdown.html diff --git a/public/help/th/wiki_syntax_textile.html b/app/views/help/wiki_syntax/th/wiki_syntax_textile.html similarity index 100% rename from public/help/th/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/th/wiki_syntax_textile.html diff --git a/public/help/tr/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/tr/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/tr/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/tr/wiki_syntax_detailed_markdown.html diff --git a/public/help/tr/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/tr/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/tr/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/tr/wiki_syntax_detailed_textile.html diff --git a/public/help/tr/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/tr/wiki_syntax_markdown.html similarity index 100% rename from public/help/tr/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/tr/wiki_syntax_markdown.html diff --git a/public/help/tr/wiki_syntax_textile.html b/app/views/help/wiki_syntax/tr/wiki_syntax_textile.html similarity index 100% rename from public/help/tr/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/tr/wiki_syntax_textile.html diff --git a/public/help/uk/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/uk/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/uk/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/uk/wiki_syntax_detailed_markdown.html diff --git a/public/help/uk/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/uk/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/uk/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/uk/wiki_syntax_detailed_textile.html diff --git a/public/help/uk/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/uk/wiki_syntax_markdown.html similarity index 100% rename from public/help/uk/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/uk/wiki_syntax_markdown.html diff --git a/public/help/uk/wiki_syntax_textile.html b/app/views/help/wiki_syntax/uk/wiki_syntax_textile.html similarity index 100% rename from public/help/uk/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/uk/wiki_syntax_textile.html diff --git a/public/help/vi/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/vi/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/vi/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/vi/wiki_syntax_detailed_markdown.html diff --git a/public/help/vi/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/vi/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/vi/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/vi/wiki_syntax_detailed_textile.html diff --git a/public/help/vi/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/vi/wiki_syntax_markdown.html similarity index 100% rename from public/help/vi/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/vi/wiki_syntax_markdown.html diff --git a/public/help/vi/wiki_syntax_textile.html b/app/views/help/wiki_syntax/vi/wiki_syntax_textile.html similarity index 100% rename from public/help/vi/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/vi/wiki_syntax_textile.html diff --git a/public/help/zh-tw/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/zh-tw/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/zh-tw/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/zh-tw/wiki_syntax_detailed_markdown.html diff --git a/public/help/zh-tw/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/zh-tw/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/zh-tw/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/zh-tw/wiki_syntax_detailed_textile.html diff --git a/public/help/zh-tw/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/zh-tw/wiki_syntax_markdown.html similarity index 100% rename from public/help/zh-tw/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/zh-tw/wiki_syntax_markdown.html diff --git a/public/help/zh-tw/wiki_syntax_textile.html b/app/views/help/wiki_syntax/zh-tw/wiki_syntax_textile.html similarity index 100% rename from public/help/zh-tw/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/zh-tw/wiki_syntax_textile.html diff --git a/public/help/zh/wiki_syntax_detailed_markdown.html b/app/views/help/wiki_syntax/zh/wiki_syntax_detailed_markdown.html similarity index 100% rename from public/help/zh/wiki_syntax_detailed_markdown.html rename to app/views/help/wiki_syntax/zh/wiki_syntax_detailed_markdown.html diff --git a/public/help/zh/wiki_syntax_detailed_textile.html b/app/views/help/wiki_syntax/zh/wiki_syntax_detailed_textile.html similarity index 100% rename from public/help/zh/wiki_syntax_detailed_textile.html rename to app/views/help/wiki_syntax/zh/wiki_syntax_detailed_textile.html diff --git a/public/help/zh/wiki_syntax_markdown.html b/app/views/help/wiki_syntax/zh/wiki_syntax_markdown.html similarity index 100% rename from public/help/zh/wiki_syntax_markdown.html rename to app/views/help/wiki_syntax/zh/wiki_syntax_markdown.html diff --git a/public/help/zh/wiki_syntax_textile.html b/app/views/help/wiki_syntax/zh/wiki_syntax_textile.html similarity index 100% rename from public/help/zh/wiki_syntax_textile.html rename to app/views/help/wiki_syntax/zh/wiki_syntax_textile.html diff --git a/config/routes.rb b/config/routes.rb index 421bf9b28..8e392fde5 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -407,6 +407,8 @@ 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/ } + Redmine::Plugin.directory.glob("*/config/routes.rb").sort.each do |plugin_routes_path| instance_eval(plugin_routes_path.read, plugin_routes_path.to_s) rescue SyntaxError, StandardError => e