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

prevent nav menu item field 'kind' to be the empty string #633

Merged
merged 1 commit into from
May 18, 2017

Conversation

haffla
Copy link
Contributor

@haffla haffla commented May 18, 2017

Hey,

I noticed that adding custom menus via hook nav_menu_custom is not working. The reason is that the kind will be saved as an empty string.

'' || true # => ''
''.present? # => false

@owen2345 owen2345 merged commit 999a0ce into owen2345:master May 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants