remove trailing white-spaces from app/controllers/comments_controller.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6898 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
5367658323
commit
892b4bafd3
|
@ -12,7 +12,7 @@ class CommentsController < ApplicationController
|
||||||
if @news.comments << @comment
|
if @news.comments << @comment
|
||||||
flash[:notice] = l(:label_comment_added)
|
flash[:notice] = l(:label_comment_added)
|
||||||
end
|
end
|
||||||
|
|
||||||
redirect_to :controller => 'news', :action => 'show', :id => @news
|
redirect_to :controller => 'news', :action => 'show', :id => @news
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -32,5 +32,5 @@ class CommentsController < ApplicationController
|
||||||
@comment = nil
|
@comment = nil
|
||||||
@news
|
@news
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue