Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Link resolution on localized content #106

Merged
merged 2 commits into from
Oct 4, 2016

Conversation

dlitvakb
Copy link
Contributor

def replace_children(res, object)
object.each do |name, potential_objects|
if localized_entry?(object, name, potential_objects)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should the logic in this block be broken out into its own method (e.g. detect_localized_objects)? replace_children is starting to get a bit complicated with this addition.

@jsdalton jsdalton assigned dlitvakb and unassigned jsdalton Oct 4, 2016
@dlitvakb dlitvakb merged commit b88933d into master Oct 4, 2016
@dlitvakb dlitvakb deleted the dl/fix-localized-link-resolution branch October 4, 2016 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants