[Radiant] custom status

John W. Long ng at johnwlong.com
Sat Sep 2 06:48:52 CDT 2006


Keith Bingman wrote:
> Thanks John, that was just what I needed.  The only thing I need to  
> change was page.rb in Models, just added the name on the new Status to
> 
>    def published?
>      status == Status[:published] or Status[:archived]
>    end

Shouldn't that be:

(status == Status[:published]) or (status == Status[:archived])

--
John Long
http://wiseheartdesign.com



More information about the Radiant mailing list