diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index ea6f286d3..b1e3a1b4e 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -325,12 +325,13 @@ module ApplicationHelper end def html_title(*args) + puts "HTML_TITLE #{args.join(',')}" if args.empty? title = [] title << @project.name if @project title += @html_title if @html_title title << Setting.app_title - title.compact.join(' - ') + title.select {|t| !t.blank? }.join(' - ') else @html_title ||= [] @html_title += args