Created
March 7, 2019 15:13
-
-
Save ahebrank/35ece7bcecbe182be8486598b7455047 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| diff --git a/paragraphs_edit.links.contextual.yml b/paragraphs_edit.links.contextual.yml | |
| index 4f8d6a8..163819e 100644 | |
| --- a/paragraphs_edit.links.contextual.yml | |
| +++ b/paragraphs_edit.links.contextual.yml | |
| @@ -3,11 +3,6 @@ paragraphs_edit.edit_form: | |
| group: paragraph | |
| title: Edit | |
| -paragraphs_edit.clone_form: | |
| - route_name: paragraphs_edit.clone_form | |
| - group: paragraph | |
| - title: Clone | |
| - | |
| paragraphs_edit.delete_form: | |
| route_name: paragraphs_edit.delete_form | |
| group: paragraph | |
| diff --git a/paragraphs_edit.routing.yml b/paragraphs_edit.routing.yml | |
| index c80d671..3231c41 100644 | |
| --- a/paragraphs_edit.routing.yml | |
| +++ b/paragraphs_edit.routing.yml | |
| @@ -18,7 +18,7 @@ paragraphs_edit.clone_form: | |
| defaults: | |
| _entity_form: 'paragraph.entity_clone' | |
| requirements: | |
| - _entity_access: 'paragraph.update' | |
| + _entity_access: 'root_parent.update' | |
| options: | |
| _admin_route: TRUE | |
| parameters: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment