repo.or.cz
/
akelos.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fixing content type ordering when content_type is not defined.
[akelos.git]
/
test
/
fixtures
/
app
/
controllers
/
post_controller.php
blob
8a1cc58347791d467560f1630ec9cc7c16d5dd41
1
<
?php
2
3
class
PostController
extends
ApplicationController
4
{
5
var
$finder_options
=
array
(
'Post'
=>
array
(
'include'
=>
'comments'
,
'order'
=>
'_comments.id'
));
6
7
function
comments
()
8
{
9
$this
->
renderText
(
join
(
''
,
Ak
::
collect
(
$this
->
post
->
comments
,
'id'
,
'body'
)));
10
}
11
}
12
13
14
?
>