diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-07-09 08:56:07 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-07-09 08:56:07 +0000 |
commit | 93c2b92a4b5b7003be3113b5d9baf2a0448402a8 (patch) | |
tree | a6374caf6bcb9aebf9850003a7fc202055c1c390 /app/controllers/activities_controller.rb | |
parent | 01d34d65d9fe6df113f2145f5d5881a1e84c22e7 (diff) | |
download | redmine-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/activities_controller.rb')
-rw-r--r-- | app/controllers/activities_controller.rb | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/app/controllers/activities_controller.rb b/app/controllers/activities_controller.rb index cd03432b2..bdf0b24ed 100644 --- a/app/controllers/activities_controller.rb +++ b/app/controllers/activities_controller.rb @@ -1,7 +1,24 @@ +# Redmine - project management software +# 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 +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + class ActivitiesController < ApplicationController menu_item :activity before_filter :find_optional_project - accept_key_auth :index + accept_rss_auth :index def index @days = Setting.activity_days_default.to_i |