diff --git a/app/views/discuss_demo/index.html.erb b/app/views/discuss_demos/index.html.erb
similarity index 69%
rename from app/views/discuss_demo/index.html.erb
rename to app/views/discuss_demos/index.html.erb
index f9bee9b54..b24937357 100644
--- a/app/views/discuss_demo/index.html.erb
+++ b/app/views/discuss_demos/index.html.erb
@@ -6,10 +6,14 @@
<%= truncate(e.title,:length => 50) %> |
- <%= textAreailizable truncate(e.body,:length => 500) %>
+ <%= truncate(e.body,:length => 50) %>
|
- <%= link_to '查看文章',{:controller => 'discuss_demo',:action => 'show',:id=>e.id} %>
+ <%= link_to '查看文章',{:controller => 'discuss_demos',:action => 'show',:id=>e.id} %>
+ |
+
+
+ <%= link_to '删除文章',discuss_demo_path(e.id), :method => :delete,:confirm => l(:text_are_you_sure) %>
|