How can I get the topic status


(Kgish) #1

How can I get the topic status?

I see that the method topic.closed? is available, but I’d like to get the status string back.

Similar to topic.category.name.


(Robin Ward) #2

The problem is that topics can have multiple statuses. For example a topic can be closed AND deleted. It can be invisible AND closed, etc.