##// 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 336 # TODO: remove in Redmine 1.4
337 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 339 accept_rss_auth(*actions)
340 340 end
341 341
342 342 # TODO: remove in Redmine 1.4
343 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 345 self.class.accept_rss_auth
346 346 end
347 347
General Comments 0
You need to be logged in to leave comments. Login now