Closed Bramjetten closed 5 months ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Not stale
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Currently the method for checking if a page has_content looks like this:
This only checks if a part is present, not its content. Parts are pretty much always present if you've saved a page once, so this isn't all that useful. Perhaps a better implementation would be
content(name).present?
.