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

uninitialized constant Cms::Page::Section when top_level_section is called on the root page #506

Open
miskander opened this Issue Apr 16, 2012 · 1 comment

Comments

Projects
None yet
1 participant
@miskander
Contributor

miskander commented Apr 16, 2012

This seems to occur when you call current_page.top_level_section on the root page.

@miskander

This comment has been minimized.

Show comment
Hide comment
@miskander

miskander Apr 16, 2012

Contributor

See #507 for a proposed fix.

Contributor

miskander commented Apr 16, 2012

See #507 for a proposed fix.

peakpg added a commit that referenced this issue May 10, 2012

[#506] Page#top_level_section fails
Write tests to confirm bug when you call #top_level_section on a page with a root parent.

peakpg added a commit that referenced this issue May 10, 2012

[#506] #top_level_section fix
Verified with tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment