summaryrefslogtreecommitdiffstats
path: root/app/controllers/news_controller.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-07-19 07:29:05 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-07-19 07:29:05 +0000
commit93201e7386eb8bb2c69f110d934f04feb81ffe93 (patch)
tree3dde94a06ee3097199c23308a0875906e3f3fc7b /app/controllers/news_controller.rb
parent324495643ba05d24f6edc016f85fd4c8c6dbbf19 (diff)
downloadredmine-93201e7386eb8bb2c69f110d934f04feb81ffe93.tar.gz
redmine-93201e7386eb8bb2c69f110d934f04feb81ffe93.zip
Fixed: Wiki Linking Fails on News Item Preview (#1661).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1677 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/news_controller.rb')
-rw-r--r--app/controllers/news_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/news_controller.rb b/app/controllers/news_controller.rb
index c9ba6b991..8c1a03a5b 100644
--- a/app/controllers/news_controller.rb
+++ b/app/controllers/news_controller.rb
@@ -18,7 +18,7 @@
class NewsController < ApplicationController
layout 'base'
before_filter :find_news, :except => [:new, :index, :preview]
- before_filter :find_project, :only => :new
+ before_filter :find_project, :only => [:new, :preview]
before_filter :authorize, :except => [:index, :preview]
before_filter :find_optional_project, :only => :index
accept_key_auth :index