demarches-normaliennes/app/views/api_tokens/index.turbo_stream.haml

3 lines
187 B
Text
Raw Normal View History

= turbo_stream.morph dom_id(current_administrateur, :profil_api_token) do
= render Profile::APITokenCardComponent.new created_api_token: @api_token, created_packed_token: @packed_token