This repository has been archived by the owner on May 14, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add library in the holding_location delivery_locations array
- Loading branch information
1 parent
a236b55
commit 9b251b9
Showing
4 changed files
with
21 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
json.partial! 'locations/delivery_locations/show_single', delivery_location: @delivery_location | ||
|
||
json.partial! 'locations/holding_locations/json_partials/library', | ||
library: @delivery_location.library | ||
json.partial! 'locations/holding_locations/json_partials/library', library: @delivery_location.library |
6 changes: 4 additions & 2 deletions
6
app/views/locations/holding_locations/json_partials/_delivery_locations.json.jbuilder
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
json.delivery_locations delivery_locations do |delivery_location| | ||
json.partial! 'locations/delivery_locations/show_single', | ||
delivery_location: delivery_location | ||
json.partial! 'locations/delivery_locations/show_single', delivery_location: delivery_location | ||
json.library do | ||
json.partial! 'locations/libraries/show_single', library: delivery_location.library | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
module Locations | ||
VERSION = "1.2.0" | ||
VERSION = "1.5.0" | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters