forked from silverstripe/silverstripe-framework
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ENHANCEMENT Allow the homepage to have a different URL
If you changed the URL segment for your homepage to anything other than 'home' a new homepage would be created every time you ran a dev/build. This commit allows you to call RootURLController::set_default_homepage_link('something'); to change the URL segment for your homepage to 'something'. After doing this the dev/build process will no longer create a homepage if you already have a page with 'something' as the URL segment. There was a discussion of needing this at http://www.silverstripe.org/general-questions/show/12253
- Loading branch information
1 parent
0085876
commit d874715
Showing
2 changed files
with
17 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters