summaryrefslogtreecommitdiffstats
path: root/app/controllers/timelog_controller.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2011-07-09 08:56:07 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2011-07-09 08:56:07 +0000
commit93c2b92a4b5b7003be3113b5d9baf2a0448402a8 (patch)
treea6374caf6bcb9aebf9850003a7fc202055c1c390 /app/controllers/timelog_controller.rb
parent01d34d65d9fe6df113f2145f5d5881a1e84c22e7 (diff)
downloadredmine-93c2b92a4b5b7003be3113b5d9baf2a0448402a8.tar.gz
redmine-93c2b92a4b5b7003be3113b5d9baf2a0448402a8.zip
Separation of RSS/API auth actions.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6197 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/timelog_controller.rb')
-rw-r--r--app/controllers/timelog_controller.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/controllers/timelog_controller.rb b/app/controllers/timelog_controller.rb
index 16e6e2457..ccd170158 100644
--- a/app/controllers/timelog_controller.rb
+++ b/app/controllers/timelog_controller.rb
@@ -1,5 +1,5 @@
# Redmine - project management software
-# Copyright (C) 2006-2010 Jean-Philippe Lang
+# Copyright (C) 2006-2011 Jean-Philippe Lang
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
@@ -22,7 +22,8 @@ class TimelogController < ApplicationController
before_filter :find_time_entries, :only => [:bulk_edit, :bulk_update, :destroy]
before_filter :authorize, :except => [:index]
before_filter :find_optional_project, :only => [:index]
- accept_key_auth :index, :show, :create, :update, :destroy
+ accept_rss_auth :index
+ accept_api_auth :index, :show, :create, :update, :destroy
helper :sort
include SortHelper