مراية لـ
https://github.com/postalserver/postal.git
تم المزامنة 2025-11-30 21:32:30 +00:00
style(rubocop): Style/IdenticalConditionalBranches
هذا الالتزام موجود في:
@@ -48,11 +48,7 @@ class ApplicationController < ActionController::Base
|
||||
helper_method :page_title
|
||||
|
||||
def redirect_to_with_return_to(url, *args)
|
||||
if params[:return_to].blank? || !params[:return_to].starts_with?("/")
|
||||
redirect_to url_with_return_to(url), *args
|
||||
else
|
||||
redirect_to url_with_return_to(url), *args
|
||||
end
|
||||
redirect_to url_with_return_to(url), *args
|
||||
end
|
||||
|
||||
def set_timezone
|
||||
|
||||
المرجع في مشكلة جديدة
حظر مستخدم