-
Notifications
You must be signed in to change notification settings - Fork 194
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
return publishing app on HostContentItems
Now that this PR is merged [1] we should be able to retrieve the name of the publishing app for Host Content. We will shortly use this when creating Publish Intents to remove the cache when updating Host Documents. [1] alphagov/publishing-api#2876
- Loading branch information
Showing
4 changed files
with
5 additions
and
1 deletion.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
lib/engines/content_object_store/app/models/content_object_store/host_content_item.rb
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,4 @@ | ||
module ContentObjectStore | ||
class HostContentItem < Data.define(:title, :base_path, :document_type, :publishing_organisation) | ||
class HostContentItem < Data.define(:title, :base_path, :document_type, :publishing_organisation, :publishing_app) | ||
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
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
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