Skip to content
Browse files

Merge pull request #4 from chr1831/master

Fix page.rb content method
  • Loading branch information...
2 parents 2a4b606 + 625b0ef commit 6cba99c9d690e5af0cd647fa74543618c9e2d2f6 @kenpratt committed Jun 5, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/wikipedia/page.rb
View
2 lib/wikipedia/page.rb
@@ -11,7 +11,7 @@ def page
end
def content
- page['revisions'].first.fetch('*') if page['revisions']
+ page['revisions'].first['*'] if page['revisions']
end
def sanitized_content

0 comments on commit 6cba99c

Please sign in to comment.
Something went wrong with that request. Please try again.