Skip to content

Commit dea577a

Browse files
committed
Fix type naming and remove debug statement
1 parent 04ccf96 commit dea577a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/docs/filters/pony/entries.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,11 @@ module Docs
22
class Pony
33
class EntriesFilter < Docs::EntriesFilter
44
def get_name
5-
binding.pry
65
context[:html_title].sub(/ - .*/, '')
76
end
87

98
def get_type
10-
subpath.split('-')[0][1..-1]
9+
subpath.split('-')[0][0..-1]
1110
end
1211
end
1312
end

0 commit comments

Comments
 (0)