Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Allow to define legacy route mappings as a dict in config#4521

Merged
tino097 merged 1 commit into
masterfrom
legacy-route-mappings-as-dict
Oct 26, 2018
Merged

Allow to define legacy route mappings as a dict in config#4521
tino097 merged 1 commit into
masterfrom
legacy-route-mappings-as-dict

Conversation

@amercader
Copy link
Copy Markdown
Member

The current code only updates the core default list if the ckan.legacy_route_mappings is a string (which is probably how it comes from the ini file). But this setting can also be set by extensions directly on the config object, and it makes more sense to do it as a dict.

The current code only updates the core default list if the
`ckan.legacy_route_mappings` is a string (which is probably how it comes
from the ini file). But this setting can also be set by extensions
directly on the config object, and it makes more sense to do it as a
dict.
@tino097 tino097 merged commit e04a753 into master Oct 26, 2018
@smotornyuk smotornyuk deleted the legacy-route-mappings-as-dict branch December 19, 2018 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants