stupid hack for photos

This commit is contained in:
Maxwell Salzberg 2012-05-17 21:49:04 -07:00
parent 72bb37d79d
commit 593fa0ed8e

View file

@ -58,10 +58,10 @@ class StatusMessagesController < ApplicationController
current_user.dispatch_post(@status_message, :url => short_post_url(@status_message.guid), :service_types => receiving_services)
#this is done implicitly, somewhere else, apparently, says max. :'(
# @status_message.photos.each do |photo|
# current_user.dispatch_post(photo)
# end
#this is done implicitly, somewhere else, but it doesnt work, says max. :'(
@status_message.photos.each do |photo|
current_user.dispatch_post(photo)
end
current_user.participate!(@status_message)