Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #18 from RobertStewart/subscribe_adopters

Remove accidental reference to last_adopted_at
  • Loading branch information...
commit af4280ecd3a486899d6db399f7584b84c8703442 2 parents 20cd826 + 69fd677
@eddietejeda eddietejeda authored
Showing with 0 additions and 1 deletion.
  1. +0 −1  app/controllers/things_controller.rb
View
1  app/controllers/things_controller.rb
@@ -30,7 +30,6 @@ def update
@thing.update_attributes({:name=>params[:thing][:name]})
end
if !@thing.adopted_by(params[:thing][:user_id])
- current_user.update_attributes(:last_adoption_at => Time.current)
@thing.users << current_user
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.