Skip to content

Commit

Permalink
Merge pull request #2919 from nimrodshn/fix_titelize_broken_link
Browse files Browse the repository at this point in the history
Fix broken containers link in container dashboard
  • Loading branch information
himdel authored Dec 4, 2017
2 parents 9748fce + 989c0bb commit d549f6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/application_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1149,7 +1149,7 @@ def view_to_hash(view, fetch_data = false)
value = row[col] || ' '
new_row[:cells] << {:span => severity_span_class(value), :text => severity_title(value)}
when 'state'
celltext = row[col].titleize
celltext = row[col].to_s.titleize
when 'hardware.bitness'
celltext = row[col] ? "#{row[col]} bit" : ''
when 'image?'
Expand Down

0 comments on commit d549f6a

Please sign in to comment.