diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-07-09 18:48:34 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-07-09 18:48:34 +0000 |
commit | 621850d5a04e4d2dbe11fda358bad0ce3148d848 (patch) | |
tree | 32b7a4c84dfa20ccedf9d485d75bc8b56b7f470e | |
parent | b0728550a35c0bb1cea7efa345d6781cbe3683d4 (diff) | |
download | redmine-621850d5a04e4d2dbe11fda358bad0ce3148d848.tar.gz redmine-621850d5a04e4d2dbe11fda358bad0ce3148d848.zip |
Typo in api_key_auth deprecation code (#8773).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6208 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | app/controllers/application_controller.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index b3f00815d..cf9a849bc 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -335,13 +335,13 @@ class ApplicationController < ActionController::Base # TODO: remove in Redmine 1.4 def self.accept_key_auth(*actions) - ActiveSupport::Deprecaction.warn "ApplicationController.accept_key_auth is deprecated and will be removed in Redmine 1.4. Use accept_rss_auth (or accept_api_auth) instead." + ActiveSupport::Deprecation.warn "ApplicationController.accept_key_auth is deprecated and will be removed in Redmine 1.4. Use accept_rss_auth (or accept_api_auth) instead." accept_rss_auth(*actions) end # TODO: remove in Redmine 1.4 def accept_key_auth_actions - ActiveSupport::Deprecaction.warn "ApplicationController.accept_key_auth_actions is deprecated and will be removed in Redmine 1.4. Use accept_rss_auth (or accept_api_auth) instead." + ActiveSupport::Deprecation.warn "ApplicationController.accept_key_auth_actions is deprecated and will be removed in Redmine 1.4. Use accept_rss_auth (or accept_api_auth) instead." self.class.accept_rss_auth end |