lib/ahub/question.rb in ahub-0.11.5 vs lib/ahub/question.rb in ahub-0.12.0
- old
+ new
@@ -47,13 +47,9 @@
def html_url
"#{Ahub::DOMAIN}/questions/#{id}/#{slug}.html" if id
end
- def json_url
- "#{self.class.base_url}/#{id}.json" if id
- end
-
def to_s
html_url
end
end
end