app/controllers/reviews_controller.rb
#destroy method takes care of deleting a review
destroy method takes care of deleting a review
destroy method takes care of deleting a review
def destroy
		@review = Review.find(params[:id])
		@review.destroy
		redirect_to share_reviews_path(@share), notice: "Review successfully deleted!"		
	end
def destroy @review = Review . find ( params [ :id ] ) @review . destroy redirect_to share_reviews_path ( @share ) , notice : "Review successfully deleted!" end
destroy method takes care of deleting a review
destroy method takes care of deleting a review