Skip to content

Commit

Permalink
[enh] just cleaning a bit the code
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Talib committed Jan 2, 2018
1 parent 0f5a3a9 commit 5f6f37e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/controllers/services_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ def update
end

def destroy
# @service.points = Point.where(service_id: @service)
if @service.points.any?
flash[:alert] = "Users have contributed valuable insight to this service!"
redirect_to service_path(@service)
Expand Down

0 comments on commit 5f6f37e

Please sign in to comment.