added hide post feature back to stream

This commit is contained in:
danielgrippi
2012-01-05 16:08:22 -08:00
committed by Dennis Collinson
parent 24950bd364
commit 3f7144f214
6 changed files with 22 additions and 11 deletions

View File

@@ -20,7 +20,7 @@ class ShareVisibilitiesController < ApplicationController
@vis.hidden = !@vis.hidden
if @vis.save
update_cache(@vis)
render 'update'
render :nothing => true, :status => 200
return
end
end