Skip to content

Commit

Permalink
Removed owner_matches?
Browse files Browse the repository at this point in the history
it's not used anymore
  • Loading branch information
Br3nda committed Apr 19, 2017
1 parent 5f23bcf commit f08e740
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions app/controllers/photo_associations_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,4 @@ def destroy
collection.delete(@item)
respond_with(@photo)
end

def owner_matches?
@photo.owner == current_member && @item.owner == current_member
end
end

0 comments on commit f08e740

Please sign in to comment.