Skip to content

Commit

Permalink
Fixed issue 2301: HTML title retains correct case
Browse files Browse the repository at this point in the history
  • Loading branch information
pat-son committed Nov 18, 2015
1 parent 045c9af commit 78f3367
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/application_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def can_admin?(_obj)
def render_title
if @namespace[:controller] == 'projects' and params.key?(:id)
# viewing a project
Project.find(params[:id]).name.capitalize.html_safe
Project.find(params[:id]).name.html_safe
elsif @namespace[:controller] == 'visualizations' and params.key?(:id)
if @namespace[:action] == 'displayVis'
# viewing data sets
Expand Down

0 comments on commit 78f3367

Please sign in to comment.