summaryrefslogtreecommitdiffstats
path: root/app/controllers
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2019-09-09 08:55:43 +0000
committerGo MAEDA <maeda@farend.jp>2019-09-09 08:55:43 +0000
commit3ca75647dfbc3c41f11f202b436a1463cca8236c (patch)
tree115e02908886644aaa31d5f593141ce0c90f15bc /app/controllers
parentc22469838d33250a1615352accaa0ff9d4e59d04 (diff)
downloadredmine-3ca75647dfbc3c41f11f202b436a1463cca8236c.tar.gz
redmine-3ca75647dfbc3c41f11f202b436a1463cca8236c.zip
REST API for retrieving news (#13468).
Patch by Takenori TAKAKI. git-svn-id: http://svn.redmine.org/redmine/trunk@18441 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers')
-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 ed4db3b1b..6c1e7f1bd 100644
--- a/app/controllers/news_controller.rb
+++ b/app/controllers/news_controller.rb
@@ -26,7 +26,7 @@ class NewsController < ApplicationController
before_action :authorize, :except => [:index]
before_action :find_optional_project, :only => :index
accept_rss_auth :index
- accept_api_auth :index, :create
+ accept_api_auth :index, :show, :create
helper :watchers
helper :attachments