[devdocsgjs/main: 532/1867] Fix type naming and remove debug statement




commit dea577a1a3e36b4052cb4c82ec0cbbd7e7398f80
Author: Harm Aarts <harmaarts gmail com>
Date:   Thu Dec 13 22:24:34 2018 +0100

    Fix type naming and remove debug statement

 lib/docs/filters/pony/entries.rb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/lib/docs/filters/pony/entries.rb b/lib/docs/filters/pony/entries.rb
index 09ffe595..0dbc81c8 100644
--- a/lib/docs/filters/pony/entries.rb
+++ b/lib/docs/filters/pony/entries.rb
@@ -2,12 +2,11 @@ module Docs
   class Pony
     class EntriesFilter < Docs::EntriesFilter
       def get_name
-        binding.pry
         context[:html_title].sub(/ - .*/, '')
       end
 
       def get_type
-        subpath.split('-')[0][1..-1]
+        subpath.split('-')[0][0..-1]
       end
     end
   end


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]