diff --git a/CHANGELOG.md b/CHANGELOG.md index 299f4796..d657466d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/). Always reference the ticket number at the end of the issue description. +## Pending + +### Fixed + +- get_actions: formaction dictionary was updated directly as class attribute ## 1.3.1 (2018-07-03) diff --git a/arctic/mixins.py b/arctic/mixins.py index 75627aa2..85ca774b 100755 --- a/arctic/mixins.py +++ b/arctic/mixins.py @@ -188,7 +188,7 @@ def get_actions(self): # noqa: C901 if action[2].get('style'): allowed_action['custom_style'] = True if action[2].get('form_action'): - action[2]['form_action'] = self.in_modal( + allowed_action['form_action'] = self.in_modal( reverse_url(action[2]['form_action'], obj)) allowed_action.update(action[2])