Skip to content

Commit

Permalink
fix the specs; pull back guid in post_visibilities_controller
Browse files Browse the repository at this point in the history
  • Loading branch information
danielgrippi committed Jul 12, 2011
1 parent c622c08 commit 6f807f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/post_visibilities_controller.rb
Expand Up @@ -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,
Expand Down

0 comments on commit 6f807f2

Please sign in to comment.