smalltalk
/
osmo-st-all
Archived
1
0
Fork 0

#post method simplified

This commit is contained in:
Nicolas Petton 2009-06-23 23:37:31 +00:00
parent f25a6eb8fb
commit a022775446
1 changed files with 1 additions and 1 deletions

View File

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