Fix type naming and remove debug statement

pull/952/head
Harm Aarts 6 years ago
parent 04ccf96396
commit dea577a1a3

@ -2,12 +2,11 @@ module Docs
class Pony class Pony
class EntriesFilter < Docs::EntriesFilter class EntriesFilter < Docs::EntriesFilter
def get_name def get_name
binding.pry
context[:html_title].sub(/ - .*/, '') context[:html_title].sub(/ - .*/, '')
end end
def get_type def get_type
subpath.split('-')[0][1..-1] subpath.split('-')[0][0..-1]
end end
end end
end end

Loading…
Cancel
Save