lib/ahub/answer.rb in ahub-0.6.0 vs lib/ahub/answer.rb in ahub-0.7.0
- old
+ new
@@ -14,7 +14,11 @@
end
def user
@author
end
+
+ def html_url
+ "#{Ahub::DOMAIN}/answers/#{id}/view.html" if id
+ end
end
end
- old
+ new