]> source.dussan.org Git - redmine.git/commitdiff
Typo in api_key_auth deprecation code (#8773).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 9 Jul 2011 18:48:34 +0000 (18:48 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 9 Jul 2011 18:48:34 +0000 (18:48 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6208 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/controllers/application_controller.rb

index b3f00815d7e1ebed47c9d5b322b093d79d4780a6..cf9a849bc328705a4e075c92ee56380ab4b3d3ba 100644 (file)
@@ -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