Displaying 1 result from an estimated 1 matches for "topics_count".
Did you mean:
topic_count
2009 Sep 30
2
What is this view syntax? Old beast forum code...
...) the forum section of our site was closed
off (simply by not linking to it anywhere).
I''ve been tasked with resurrecting it, and the first problem i''m seeing
is code like this in the views:
<%= ''{count} topic(s)''[(count=Topic.count)==1 ? :topic_count :
:topics_count, number_with_delimiter(count)] %>,
or
<%= submit_tag ''Save Forum''[:save_forum], :or =>
link_to(''Cancel''[:cancel], forums_path) %>
My first thought was "wtf is that?", and it''s that question that i put
to you, dear readers.
max
-...