Default shared server with MiniDocs to create App views/(sub)routes.
This commit is contained in:
parent
8833341eee
commit
a96dd95359
@ -3,7 +3,8 @@ Class {
|
|||||||
#superclass : #Object,
|
#superclass : #Object,
|
||||||
#instVars : [
|
#instVars : [
|
||||||
'name',
|
'name',
|
||||||
'folder'
|
'folder',
|
||||||
|
'server'
|
||||||
],
|
],
|
||||||
#category : #Brea
|
#category : #Brea
|
||||||
}
|
}
|
||||||
@ -37,3 +38,8 @@ BreaApp >> name: aString [
|
|||||||
BreaApp >> parentFolder: anObject [
|
BreaApp >> parentFolder: anObject [
|
||||||
self folder: anObject / self name asCamelCase
|
self folder: anObject / self name asCamelCase
|
||||||
]
|
]
|
||||||
|
|
||||||
|
{ #category : #accessing }
|
||||||
|
BreaApp >> server [
|
||||||
|
^ server ifNil: [ server := MiniDocsServer singleton ]
|
||||||
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user