mirror of
https://github.com/silverstripe/doc.silverstripe.org
synced 2024-06-29 07:59:40 +02:00
MINOR Updated sapphiredocs
git-svn-id: http://svn.silverstripe.com/projects/ss2doc/branches/v2@116584 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
139b6084bb
commit
b3961ee2ab
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
format: 1
|
||||
handler:
|
||||
commit: 94121f0a662555aefa6871726f57f56de5332edb
|
||||
commit: b1c93bd27a232267a2ab9e05f9372982b0781236
|
||||
branch: master
|
||||
lock: false
|
||||
repository_class: Piston::Git::Repository
|
||||
|
|
|
@ -156,7 +156,7 @@ class DocumentationViewer extends Controller {
|
|||
$this->module = $firstParam;
|
||||
$this->lang = $secondParam;
|
||||
|
||||
if(isset($thirdParam) && (is_numeric($thirdParam))) {
|
||||
if(isset($thirdParam) && (is_numeric($thirdParam) || in_array($thirdParam, array('master', 'trunk')))) {
|
||||
$this->version = $thirdParam;
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in New Issue
Block a user