Default shared server with MiniDocs to create App views/(sub)routes.

This commit is contained in:
Offray Vladimir Luna Cárdenas 2024-03-29 20:27:48 -05:00
parent 8833341eee
commit a96dd95359

View File

@ -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 ]
]