[Seaside-dev] Issue with WARestfulHandler

Gerhard Obermann obi068 at gmail.com
Sun Apr 6 17:37:20 UTC 2014


Hi,

I would suggest to change the method "routes" see below.
The old method doesn't allow recaching of the instVar "routes", even if i
set the shouldCacheRoutes to false.

routes
"Answer a collection of routes for the receiver."

^ routes ifNil: [
self shouldCacheRoutes
ifFalse: [ self createRoutes ]
ifTrue: [ routes := self createRoutes ] ]

to

routes
"Answer a collection of routes for the receiver."
^self shouldCacheRoutes
ifFalse: [ self createRoutes ]
ifTrue: [  routes ifNil: [ routes := self createRoutes ] ]

Cheers
Gerhard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside-dev/attachments/20140406/bec5003d/attachment.htm


More information about the seaside-dev mailing list