rubycentral / cfp-app

Rails app for managing a conference CFP
MIT License
224 stars 155 forks source link

Adds ability to remove page from navigation and/or hide it entirely #280

Closed jonsgreen closed 2 years ago

jonsgreen commented 2 years ago

Reason for Change

This PR adds two different boolean fields on Page to help control its visibility in the website. Page#hide_navigation will just remove a page from the navigation. This will allow a page like a Splash page or some less significant content page to be published but not take up space in the navigation. On the other hand there is also now a Page#hide_page flag that will essentially unpublish a page such that it cannot be visible to the public.

Changes

Unpublish a page/hide link