مراية لـ
https://github.com/postalserver/postal.git
تم المزامنة 2026-03-03 14:24:06 +00:00
style(rubocop): fix all safe auto correctable offenses
هذا الالتزام موجود في:
@@ -1,7 +1,7 @@
|
||||
class OrganizationIPPoolsController < ApplicationController
|
||||
|
||||
include WithinOrganization
|
||||
before_action :admin_required, :only => [:assignments]
|
||||
before_action :admin_required, only: [:assignments]
|
||||
|
||||
def index
|
||||
@ip_pools = organization.ip_pools.order(:name)
|
||||
@@ -10,7 +10,7 @@ class OrganizationIPPoolsController < ApplicationController
|
||||
def assignments
|
||||
organization.ip_pool_ids = params[:ip_pools]
|
||||
organization.save!
|
||||
redirect_to [organization, :ip_pools], :notice => "Organization IP pools have been updated successfully"
|
||||
redirect_to [organization, :ip_pools], notice: "Organization IP pools have been updated successfully"
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
المرجع في مشكلة جديدة
حظر مستخدم