Skip to content

Commit

Permalink
Update app/models/library_location.rb
Browse files Browse the repository at this point in the history
Co-Authored-By: Chris Beer <[email protected]>
  • Loading branch information
mejackreed and cbeer committed Jul 25, 2019
1 parent 18ddf36 commit cef325c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/library_location.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def initialize(home_location)
end

def additional_pickup_libraries(current_pickup_library)
pickup_libraries.reject { |l| l == current_pickup_library }
pickup_libraries.except(current_pickup_library)
end

# rubocop:disable Style/EmptyCaseCondition
Expand Down

0 comments on commit cef325c

Please sign in to comment.