root/trunk/vendor/rails/actionpack/examples/debate/index.rhtml @ 58

Revision 58, 282 bytes (checked in by dema, 7 years ago)

Updating to Rails 1.1.2

RevLine 
[58]1<html>
2<body>
3<h1>Topics</h1>
4
5<%= link_to "New topic", :action => "new_topic" %>
6
7<ul>
8<% for topic in @topics %>
9  <li><%= link_to "#{topic.title} (#{topic.replies.length} replies)", :action => "topic", :path_params => { "id" => topic.id } %></li>
10<% end %>
11</ul>
12
13</body>
14</html>
Note: See TracBrowser for help on using the browser.