-
Notifications
You must be signed in to change notification settings - Fork 8
Public Website
Sebastian Fiedlschuster edited this page Oct 15, 2015
·
2 revisions
YourPlatform assumes that your organization has some kind of public website. This can either be an external website, or it can be delivered through YourPlatform itself.
The root element of the navigational structure is supposed to be the public website root.
Create a Page
as root element of the navigational structure and make it redirect to your existing public website.
# rails console
public_root = Page.create title: 'example.com'
public_root.redirect_to = 'https://example.com'
public_root.add_flag :root
public_root.child_pages << Page.find_intranet_root
public_root.save