Unified · Split
| @@ -2,12 +2,11 @@ module Docs · 1 unmodified line | |||
| 2 | class Pony | 2 | class Pony |
| 3 | class EntriesFilter < Docs::EntriesFilter | 3 | class EntriesFilter < Docs::EntriesFilter |
| 4 | def get_name | 4 | def get_name |
| 5 | binding.pry | ||
| 6 | context[:html_title].sub(/ - .*/, '') | 5 | context[:html_title].sub(/ - .*/, '') |
| 7 | end | 6 | end |
| 8 | 7 | ||
| 9 | def get_type | 8 | def get_type |
| 10 | subpath.split('-')[0][1..-1] | 9 | subpath.split('-')[0][0..-1] |
| 11 | end | 10 | end |
| 12 | end | 11 | end |
| 13 | end | 12 | end |