##// END OF EJS Templates
Typo in api_key_auth deprecation code (#8773)....
Jean-Philippe Lang -
r6088:621850d5a04e
parent child
Show More
@@ -335,13 +335,13 class ApplicationController < ActionController::Base
335
335
336 # TODO: remove in Redmine 1.4
336 # TODO: remove in Redmine 1.4
337 def self.accept_key_auth(*actions)
337 def self.accept_key_auth(*actions)
338 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."
338 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."
339 accept_rss_auth(*actions)
339 accept_rss_auth(*actions)
340 end
340 end
341
341
342 # TODO: remove in Redmine 1.4
342 # TODO: remove in Redmine 1.4
343 def accept_key_auth_actions
343 def accept_key_auth_actions
344 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."
344 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."
345 self.class.accept_rss_auth
345 self.class.accept_rss_auth
346 end
346 end
347
347
General Comments 0
You need to be logged in to leave comments. Login now