summaryrefslogtreecommitdiffstats
path: root/app/views/news
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-09-17 08:06:37 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-09-17 08:06:37 +0000
commit2a902fcb71ef5482bbdde0cdf59e7b201f48f8a5 (patch)
tree392c4a396d48ed75d165a7b2aa76445163dd0818 /app/views/news
parent71f49c723ac0b3e971dcc0aec026c4400411b1a9 (diff)
downloadredmine-2a902fcb71ef5482bbdde0cdf59e7b201f48f8a5.tar.gz
redmine-2a902fcb71ef5482bbdde0cdf59e7b201f48f8a5.zip
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
Diffstat (limited to 'app/views/news')
-rw-r--r--app/views/news/show.html.erb6
1 files 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 @@
<div class="contextual">
<%= 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',