Skip to content

Commit

Permalink
Bring back rubocop disable (will fix in next PR)
Browse files Browse the repository at this point in the history
  • Loading branch information
francois-ferrandis committed Nov 20, 2024
1 parent 47f9d01 commit ff16e72
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/controllers/search_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ def home
end
end

# rubocop:disable Metrics/PerceivedComplexity
def search_rdv
# TODO : public_link_organisation_id has to work if agent is logged in ?
if current_agent && params[:prescripteur] == Prescripteur::INTERNE && session[:agent_prescripteur_organisation_id]
Expand All @@ -32,6 +33,7 @@ def search_rdv
end
end
end
# rubocop:enable Metrics/PerceivedComplexity

def public_link_with_internal_organisation_id
organisation = Organisation.find(params[:organisation_id])
Expand Down

0 comments on commit ff16e72

Please sign in to comment.