delegate ruby template picking on reshares so the posts look better

This commit is contained in:
Maxwell Salzberg 2012-04-25 18:10:27 -07:00
parent 3bce0be47c
commit 5eb2247191

View file

@ -11,7 +11,7 @@ class TemplatePicker
}
def initialize(post)
self.post = post
self.post = post.is_a?(Reshare) ? post.root : post
end
def template_name