Update lib/docs/filters/react_bootstrap/entries.rb

Co-authored-by: Simon Legner <Simon.Legner@gmail.com>
pull/1486/head
Doh 4 years ago committed by GitHub
parent 6f1a9aab21
commit 6b2ed83fd9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -15,7 +15,7 @@ module Docs
type = slug.split('/').join('')
end
type.gsub!('-', ' ')
type.split.map(&:capitalize).join(' ')
type = type.split.map(&:capitalize).join(' ')
type
end
end

Loading…
Cancel
Save