chore: enable freeze string literals by comment

This commit is contained in:
Colin Darie 2024-04-29 00:17:15 +02:00
parent edeb9a46ec
commit 77fb0553fc
No known key found for this signature in database
GPG key ID: 4FB865FDBCA4BCC4
2262 changed files with 4520 additions and 1 deletions

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
class Champs::CarteController < Champs::ChampController
def index
@focus = params[:focus].present?

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
class Champs::ChampController < ApplicationController
before_action :authenticate_logged_user!
before_action :set_champ

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
class Champs::PieceJustificativeController < Champs::ChampController
def show
respond_to do |format|

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
class Champs::RepetitionController < Champs::ChampController
def add
row = @champ.add_row(@champ.dossier.revision)

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
class Champs::RNAController < Champs::ChampController
def show
champs_attributes = params.dig(:dossier, :champs_public_attributes) || params.dig(:dossier, :champs_private_attributes)

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
class Champs::SiretController < Champs::ChampController
def show
champs_attributes = params.dig(:dossier, :champs_public_attributes) || params.dig(:dossier, :champs_private_attributes)