access Page tree

1 view
Skip to first unread message

Sebastian

unread,
Jan 20, 2009, 4:11:30 PM1/20/09
to Comatose Plugin
Hi y'all,

I want to generate a sidemap/menu. In the forum I found an example
using Comatose::Page.root.children[0]... to do this. However, when I
try this, I get an "uninitialized constant Comatose::Page" thrown at
me. Any clues, why?

I'm running rails 2.2.2 and Comatose 2.0.5 (beta)

Cheers,

Sebastian

M@ McCray

unread,
Jan 20, 2009, 4:35:50 PM1/20/09
to Comatose Plugin
Well, in Comatose 2 it's no longer Comatose::Page, it's ComatosePage.

That'll probably help some. :)

~M@

Sebastian

unread,
Jan 20, 2009, 7:42:26 PM1/20/09
to Comatose Plugin
Thx! That work's perfectly. I could have sworn, I had tried that
before and it hadn't worked, but I guess it was something else
then :-)
Anyway, thanks again!
Reply all
Reply to author
Forward
0 new messages