From 5299d2d33270bdc09292640171757210c8da63b6 Mon Sep 17 00:00:00 2001 From: lizanle <491823689@qq.com> Date: Fri, 3 Apr 2015 15:13:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4demo=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/discuss_demos/index.html.erb | 25 ------------------------- app/views/discuss_demos/new.html.erb | 7 ------- app/views/discuss_demos/show.html.erb | 3 --- config/routes.rb | 1 - 4 files changed, 36 deletions(-) delete mode 100644 app/views/discuss_demos/index.html.erb delete mode 100644 app/views/discuss_demos/new.html.erb delete mode 100644 app/views/discuss_demos/show.html.erb diff --git a/app/views/discuss_demos/index.html.erb b/app/views/discuss_demos/index.html.erb deleted file mode 100644 index b24937357..000000000 --- a/app/views/discuss_demos/index.html.erb +++ /dev/null @@ -1,25 +0,0 @@ -
<%= truncate(e.title,:length => 50) %> | -- <%= truncate(e.body,:length => 50) %> - | -- <%= 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) %> - | -