diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-01-28 00:00:21 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-01-28 00:00:21 +0000 |
commit | 99c560295fca5a51a48dd5d3edff6dc796b3f8fd (patch) | |
tree | 38ef926ff7991134983821b1c460e4318e3b3e3f /app/controllers/news_controller.rb | |
parent | 90c7cf9763bd02bc832dc20be757e9e2c6b9b616 (diff) | |
download | redmine-99c560295fca5a51a48dd5d3edff6dc796b3f8fd.tar.gz redmine-99c560295fca5a51a48dd5d3edff6dc796b3f8fd.zip |
indentation corrections
git-svn-id: http://redmine.rubyforge.org/svn/trunk@201 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/news_controller.rb')
-rw-r--r-- | app/controllers/news_controller.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/app/controllers/news_controller.rb b/app/controllers/news_controller.rb index 0f2ae85c6..2afd20506 100644 --- a/app/controllers/news_controller.rb +++ b/app/controllers/news_controller.rb @@ -16,8 +16,8 @@ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
class NewsController < ApplicationController
- layout 'base'
- before_filter :find_project, :authorize
+ layout 'base'
+ before_filter :find_project, :authorize
def show end @@ -45,10 +45,10 @@ class NewsController < ApplicationController redirect_to :action => 'show', :id => @news
end
- def destroy - @news.destroy - redirect_to :controller => 'projects', :action => 'list_news', :id => @project - end
+ def destroy + @news.destroy + redirect_to :controller => 'projects', :action => 'list_news', :id => @project + end
private
def find_project
|