From a022775446d9ad7e2184613533c8c0776cfaf308 Mon Sep 17 00:00:00 2001 From: Nicolas Petton Date: Tue, 23 Jun 2009 23:37:31 +0000 Subject: [PATCH] #post method simplified --- More/Examples/BlogApplication.st | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/More/Examples/BlogApplication.st b/More/Examples/BlogApplication.st index 2a5d5b3..45aca57 100644 --- a/More/Examples/BlogApplication.st +++ b/More/Examples/BlogApplication.st @@ -108,7 +108,7 @@ Application subclass: BlogApplication [ post := self model posts detect: [:each | (each title , each hash printString) = path] ifNone: [self redirectToIndex]. - ^[:e | e build: (self postContentsFor: post)] + ^self postContentsFor: post ] posts [