chore: enable freeze string literals by comment
This commit is contained in:
parent
edeb9a46ec
commit
77fb0553fc
2262 changed files with 4520 additions and 1 deletions
|
@ -1,3 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class Champs::CarteController < Champs::ChampController
|
||||
def index
|
||||
@focus = params[:focus].present?
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class Champs::ChampController < ApplicationController
|
||||
before_action :authenticate_logged_user!
|
||||
before_action :set_champ
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class Champs::PieceJustificativeController < Champs::ChampController
|
||||
def show
|
||||
respond_to do |format|
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class Champs::RepetitionController < Champs::ChampController
|
||||
def add
|
||||
row = @champ.add_row(@champ.dossier.revision)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue