Skip to content

Commit

Permalink
Merge pull request #2311 from pat-son/ps2301
Browse files Browse the repository at this point in the history
HTML Title tag now displays project title with correct case.
  • Loading branch information
bdonald25 committed Dec 4, 2015
2 parents 9b9fafd + 78f3367 commit a86910e
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 a86910e

Please sign in to comment.