مراية لـ
https://github.com/postalserver/postal.git
تم المزامنة 2025-12-01 05:43:04 +00:00
style(rubocop): fix all safe auto correctable offenses
هذا الالتزام موجود في:
@@ -1,4 +1,4 @@
|
||||
require_relative 'boot'
|
||||
require_relative "boot"
|
||||
|
||||
require "rails"
|
||||
require "active_model/railtie"
|
||||
@@ -14,6 +14,7 @@ Bundler.require(*Rails.groups)
|
||||
|
||||
module Postal
|
||||
class Application < Rails::Application
|
||||
|
||||
# Disable most generators
|
||||
config.generators do |g|
|
||||
g.orm :active_record
|
||||
@@ -27,12 +28,13 @@ module Postal
|
||||
config.eager_load_namespaces << Postal
|
||||
|
||||
# Disable field_with_errors
|
||||
config.action_view.field_error_proc = Proc.new { |t, i| t }
|
||||
config.action_view.field_error_proc = proc { |t, i| t }
|
||||
|
||||
# Load the tracking server middleware
|
||||
require 'postal/tracking_middleware'
|
||||
require "postal/tracking_middleware"
|
||||
config.middleware.use Postal::TrackingMiddleware
|
||||
|
||||
config.logger = Postal.logger_for(:rails)
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
المرجع في مشكلة جديدة
حظر مستخدم