mirror of
https://github.com/redmine/redmine.git
synced 2025-11-15 09:46:02 +01:00
Deprecate and rename rss_* methods to atom_* methods (#15118).
Patch by Mischa The Evil and Marius BĂLTEANU git-svn-id: http://svn.redmine.org/redmine/trunk@21467 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -30,7 +30,7 @@ class ProjectsController < ApplicationController
|
||||
:destroy]
|
||||
before_action :authorize_global, :only => [:new, :create]
|
||||
before_action :require_admin, :only => [:copy, :archive, :unarchive]
|
||||
accept_rss_auth :index
|
||||
accept_atom_auth :index
|
||||
accept_api_auth :index, :show, :create, :update, :destroy, :archive, :unarchive, :close, :reopen
|
||||
require_sudo_mode :destroy
|
||||
|
||||
@@ -192,7 +192,7 @@ class ProjectsController < ApplicationController
|
||||
@total_estimated_hours = Issue.visible.where(cond).sum(:estimated_hours).to_f
|
||||
end
|
||||
|
||||
@key = User.current.rss_key
|
||||
@key = User.current.atom_key
|
||||
end
|
||||
format.api
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user