I'm looking for a part-time remote job.

Hire me


I'm the author of:

Mastering Redmine is a comprehensive guide with tips, tricks and best practices, and an easy-to-learn structure.

Check the book's project or

Buy the book

Social pages of the book:

By buying this book you also donate to Redmine (see this page).


Follow me:

wiking-redmine-3.2-help404.patch

Correct file - Txinto Vaz, 08 Mar 2016 16:04

Download (1.16 KB)

View differences:

lib/wiking_wiki_helper_patch.rb (working copy)
49 49

  
50 50
            if defined? ChiliProject
51 51
                url = url_for(:controller => 'help', :action => 'wiki_syntax')
52
            elsif File.exists?(File.join(Rails.root, 'public/help', current_language.to_s.downcase, 'wiki_syntax.html'))
53
                url = "#{Redmine::Utils.relative_url_root}/help/#{current_language.to_s.downcase}/wiki_syntax.html"
52
            elsif File.exists?(File.join(Rails.root, 'public/help', current_language.to_s.downcase, 'wiki_syntax_textile.html'))
53
                url = "#{Redmine::Utils.relative_url_root}/help/#{current_language.to_s.downcase}/wiki_syntax_textile.html"
54 54
            else
55
                url = "#{Redmine::Utils.relative_url_root}/help/wiki_syntax.html"
55
                url = "#{Redmine::Utils.relative_url_root}/help/wiki_syntax_textile.html"
56 56
            end
57 57

  
58 58
            if File.exists?(File.join(Rails.root, 'plugins/wiking/assets/help/', current_language.to_s.downcase, 'wiki_syntax.html'))
Terms of use | Privacy policy