We don't have fakes anymore, get rid of most of the reshare? method
This commit is contained in:
parent
dde4b30180
commit
817d6701e4
1 changed files with 1 additions and 1 deletions
|
|
@ -30,6 +30,6 @@ module StreamHelper
|
|||
end
|
||||
|
||||
def reshare?(post)
|
||||
(defined?(post.model) && post.model.is_a?(Reshare)) || post.instance_of?(Reshare)
|
||||
post.instance_of?(Reshare)
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue