Permalink
Browse files

Merge pull request #18 from RobertStewart/subscribe_adopters

Remove accidental reference to last_adopted_at
  • Loading branch information...
eddietejeda committed Mar 11, 2013
2 parents 20cd826 + 69fd677 commit af4280ecd3a486899d6db399f7584b84c8703442
Showing with 0 additions and 1 deletion.
  1. +0 −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

0 comments on commit af4280e

Please sign in to comment.