Skip to content

Commit 9dbe81b

Browse files
authored
Merge pull request #609 from alphagov/chore/update-broken-links
Update links to schema.rb
2 parents a98103b + befb128 commit 9dbe81b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/adding_a_new_schema.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ in a JSON schema format.
1010
This represents the shape of the data which will be stored in a content block's `details` field.
1111

1212
Once the schema is defined, you must define it as a supported schema in the
13-
[`VALID_SCHEMAS` constant within the Schema class](https://github.com/alphagov/content-block-manager/blob/main/app/models/schema.rb#L4)
13+
[`VALID_SCHEMAS` constant within the Schema class](https://github.com/alphagov/content-block-manager/blob/main/app/public/models/schema.rb#L4)
1414
so that it can be used in Content Block Manager.
1515

1616
Schemas can be defined as `live` or `alpha`. `live` schemas are visible in production, and can be accessed by anyone.

docs/schemas.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
All content block types are managed in the schemas within the [Schema definitions directory](https://github.com/alphagov/content-block-manager/tree/main/app/models/schema/definitions).
66

7-
Schemas are picked up by Content Block Manager via the [`Schema` class](https://github.com/alphagov/content-block-manager/blob/main/app/models/schema.rb).
7+
Schemas are picked up by Content Block Manager via the [`Schema` class](https://github.com/alphagov/content-block-manager/blob/main/app/public/models/schema.rb).
88

99
When creating a new content block, we fetch all the supported schemas and give the user a list of valid block types to
1010
create. Once a block type is chosen the form is then populated using all the fields within a schema's `details` object

0 commit comments

Comments
 (0)