Enable Style/TrailingCommaInHashLiteral
This commit is contained in:
parent
2ede598f77
commit
a171186dd8
17 changed files with 18 additions and 18 deletions
|
@ -35,7 +35,7 @@ class Admin::MailTemplatesController < AdminController
|
|||
{
|
||||
procedure_id: params[:procedure_id],
|
||||
subject: params[:mail_template][:subject],
|
||||
body: params[:mail_template][:body],
|
||||
body: params[:mail_template][:body]
|
||||
}
|
||||
end
|
||||
end
|
||||
|
|
|
@ -123,7 +123,7 @@ class ApplicationController < ActionController::Base
|
|||
payload.merge!({
|
||||
browser: browser.name,
|
||||
browser_version: browser.version.to_s,
|
||||
platform: browser.platform.name,
|
||||
platform: browser.platform.name
|
||||
})
|
||||
end
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ module Manager
|
|||
redirect_to manager_administrateurs_path
|
||||
else
|
||||
render :new, locals: {
|
||||
page: Administrate::Page::Form.new(dashboard, administrateur),
|
||||
page: Administrate::Page::Form.new(dashboard, administrateur)
|
||||
}
|
||||
end
|
||||
end
|
||||
|
|
|
@ -15,7 +15,7 @@ class DossierDashboard < Administrate::BaseDashboard
|
|||
created_at: Field::DateTime,
|
||||
updated_at: Field::DateTime,
|
||||
hidden_at: Field::DateTime,
|
||||
types_de_champ: TypesDeChampCollectionField,
|
||||
types_de_champ: TypesDeChampCollectionField
|
||||
}.freeze
|
||||
|
||||
# COLLECTION_ATTRIBUTES
|
||||
|
|
|
@ -33,7 +33,7 @@ class ProcedureDashboard < Administrate::BaseDashboard
|
|||
received_mail_template: MailTemplateField,
|
||||
closed_mail_template: MailTemplateField,
|
||||
refused_mail_template: MailTemplateField,
|
||||
without_continuation_mail_template: MailTemplateField,
|
||||
without_continuation_mail_template: MailTemplateField
|
||||
}.freeze
|
||||
|
||||
# COLLECTION_ATTRIBUTES
|
||||
|
|
|
@ -19,7 +19,7 @@ class ServiceDashboard < Administrate::BaseDashboard
|
|||
telephone: Field::String,
|
||||
horaires: Field::String,
|
||||
adresse: Field::String,
|
||||
siret: Field::String,
|
||||
siret: Field::String
|
||||
}.freeze
|
||||
|
||||
# COLLECTION_ATTRIBUTES
|
||||
|
|
|
@ -14,7 +14,7 @@ class UserDashboard < Administrate::BaseDashboard
|
|||
created_at: Field::DateTime,
|
||||
updated_at: Field::DateTime,
|
||||
current_sign_in_at: Field::DateTime,
|
||||
dossiers: Field::HasMany,
|
||||
dossiers: Field::HasMany
|
||||
}.freeze
|
||||
|
||||
# COLLECTION_ATTRIBUTES
|
||||
|
|
|
@ -55,7 +55,7 @@ class Pipedrive::DealAdapter
|
|||
user_id: Pipedrive::PersonAdapter::PIPEDRIVE_ROBOT_ID,
|
||||
"#{PIPEDRIVE_NB_OF_PROCEDURES_ATTRIBUTE_ID}": nb_of_procedures,
|
||||
value: nb_of_dossiers,
|
||||
"#{PIPEDRIVE_DEADLINE_ATTRIBUTE_ID}": deadline,
|
||||
"#{PIPEDRIVE_DEADLINE_ATTRIBUTE_ID}": deadline
|
||||
}
|
||||
|
||||
Pipedrive::API.post_deal(params)
|
||||
|
|
|
@ -76,7 +76,7 @@ class Gestionnaire < ApplicationRecord
|
|||
else
|
||||
{
|
||||
start_date: start_date,
|
||||
procedure_overviews: active_procedure_overviews,
|
||||
procedure_overviews: active_procedure_overviews
|
||||
}
|
||||
end
|
||||
end
|
||||
|
|
|
@ -4,7 +4,7 @@ class VirusScan < ApplicationRecord
|
|||
enum status: {
|
||||
pending: 'pending',
|
||||
safe: 'safe',
|
||||
infected: 'infected',
|
||||
infected: 'infected'
|
||||
}
|
||||
|
||||
validates :champ_id, uniqueness: { scope: :blob_key }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue