DEV: Fix random typos (#26881)

This commit is contained in:
Jarek Radosz
2024-05-06 20:52:48 +02:00
committed by GitHub
parent d8b1c3c807
commit 79870d3a1e
9 changed files with 16 additions and 16 deletions

View File

@ -2148,7 +2148,7 @@ class UsersController < ApplicationController
end
def deprecate_modify_user_params_method
# only issue a deprecation warning if the method is overriden somewhere
# only issue a deprecation warning if the method is overridden somewhere
if method(:modify_user_params).source_location[0] !=
"#{Rails.root}/app/controllers/users_controller.rb"
Discourse.deprecate(