samsymons / RedditKit.rb

[Deprecated] A Ruby wrapper for the reddit API
https://redditkit.com/
MIT License
152 stars 26 forks source link

Fixed permalink method to remove extra slash #25

Closed blakejakopovic closed 9 years ago

blakejakopovic commented 9 years ago

The permalink already comes with a prefix slash, and thus it is not needed in the reddit domain name. (Fixes: "http://reddit.com//r/lisp/comments/2cs6qo/mocl_lisp_for_ios_android_and_os_x/" with http://reddit.com/r/lisp/comments/2cs6qo/mocl_lisp_for_ios_android_and_os_x/)

samsymons commented 9 years ago

Great fix; thanks!