fix the specs; pull back guid in post_visibilities_controller

This commit is contained in:
danielgrippi 2011-07-12 15:18:12 -07:00
parent c622c08d49
commit 6f807f263a

View file

@ -9,7 +9,7 @@ class PostVisibilitiesController < ApplicationController
def update
#note :id references a postvisibility
@post = Post.where(:id => params[:post_id]).select("id, author_id").first
@post = Post.where(:id => params[:post_id]).select("id, guid, author_id").first
@contact = current_user.contact_for(@post.author)
if @contact && @vis = PostVisibility.where(:contact_id => @contact.id,