From 2a902fcb71ef5482bbdde0cdf59e7b201f48f8a5 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sat, 17 Sep 2011 08:06:37 +0000 Subject: [PATCH] remove trailing white-spaces from app/views/news/show.html.erb git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7308 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/news/show.html.erb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/news/show.html.erb b/app/views/news/show.html.erb index ea630779c..e6405b920 100644 --- a/app/views/news/show.html.erb +++ b/app/views/news/show.html.erb @@ -1,11 +1,11 @@
<%= watcher_tag(@news, User.current) %> -<%= link_to(l(:button_edit), +<%= link_to(l(:button_edit), edit_news_path(@news), :class => 'icon icon-edit', :accesskey => accesskey(:edit), :onclick => 'Element.show("edit-news"); return false;') if User.current.allowed_to?(:manage_news, @project) %> -<%= link_to(l(:button_delete), +<%= link_to(l(:button_delete), news_path(@news), :confirm => l(:text_are_you_sure), :method => :delete, @@ -20,7 +20,7 @@ :html => { :id => 'news-form', :method => :put } do |f| %> <%= render :partial => 'form', :locals => { :f => f } %> <%= submit_tag l(:button_save) %> -<%= link_to_remote l(:label_preview), +<%= link_to_remote l(:label_preview), { :url => preview_news_path(:project_id => @project), :method => 'get', :update => 'preview',