Skip to content
Extraits de code Groupes Projets
Valider 6f807f26 rédigé par danielgrippi's avatar danielgrippi
Parcourir les fichiers

fix the specs; pull back guid in post_visibilities_controller

parent c622c08d
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -9,7 +9,7 @@ class PostVisibilitiesController < ApplicationController ...@@ -9,7 +9,7 @@ class PostVisibilitiesController < ApplicationController
def update def update
#note :id references a postvisibility #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) @contact = current_user.contact_for(@post.author)
if @contact && @vis = PostVisibility.where(:contact_id => @contact.id, if @contact && @vis = PostVisibility.where(:contact_id => @contact.id,
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter