]> BookStack Code Mirror - bookstack/commit
Added smarter page finding so changing the page name does not break old urls
authorDan Brown <redacted>
Thu, 25 Feb 2016 20:01:59 +0000 (20:01 +0000)
committerDan Brown <redacted>
Thu, 25 Feb 2016 20:01:59 +0000 (20:01 +0000)
commit54e3122540f4c7289938416a30d7b4fbf41c2d17
tree8938f692e383be512b6c255c1ad9cb3710ce324a
parentd339ab1125ceec754fe97b434ad3eee5abc64939
Added smarter page finding so changing the page name does not break old urls

Added page & book slug history to revisions so they can be looked up if a page is not found.
app/Http/Controllers/PageController.php
app/Repos/PageRepo.php
database/migrations/2016_02_25_184030_add_slug_to_revisions.php [new file with mode: 0644]
tests/EntityTest.php