From 63351fc049b485c2c9a4f527db13e38c3d187272 Mon Sep 17 00:00:00 2001 From: alan <547533434@qq.com> Date: Fri, 8 May 2015 10:59:11 +0800 Subject: [PATCH] Signed-off-by: alan <547533434@qq.com> --- app/views/boards/_project_show.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/boards/_project_show.html.erb b/app/views/boards/_project_show.html.erb index add60aa7a..205e2262a 100644 --- a/app/views/boards/_project_show.html.erb +++ b/app/views/boards/_project_show.html.erb @@ -39,12 +39,12 @@ <%= link_to author, user_path(topic.author), :class =>"talkmain_name fl " %> <%= link_to( l(:button_edit), - {:action => 'edit', :id => @topic}, + {:action => 'edit', :id => topic}, :class => 'talk_edit fr' ) if @message.editable_by?(User.current) %> <%= link_to( l(:button_delete), - {:action => 'destroy', :id => @topic}, + {:action => 'destroy', :id => topic}, :method => :post, :data => {:confirm => l(:text_are_you_sure)}, :class => 'talk_edit fr'