Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge pull request #18 from RobertStewart/subscribe_adopters

Remove accidental reference to last_adopted_at
  • Loading branch information...
commit af4280ecd3a486899d6db399f7584b84c8703442 2 parents 20cd826 + 69fd677
Eddie A Tejeda eddietejeda authored

Showing 1 changed file with 0 additions and 1 deletion. Show diff stats Hide diff stats

  1. +0 1  app/controllers/things_controller.rb
1  app/controllers/things_controller.rb
@@ -30,7 +30,6 @@ def update
30 30 @thing.update_attributes({:name=>params[:thing][:name]})
31 31 end
32 32 if !@thing.adopted_by(params[:thing][:user_id])
33   - current_user.update_attributes(:last_adoption_at => Time.current)
34 33 @thing.users << current_user
35 34 end
36 35 end

0 comments on commit af4280e

Please sign in to comment.
Something went wrong with that request. Please try again.