From d7164356f194d30ec5bcb64f90376e60764fcfaf Mon Sep 17 00:00:00 2001 From: Jorge Manrubia Date: Tue, 6 May 2025 11:20:04 +0200 Subject: [PATCH] Format --- app/controllers/commands_controller.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/commands_controller.rb b/app/controllers/commands_controller.rb index 2b67d1a13..270e63dd9 100644 --- a/app/controllers/commands_controller.rb +++ b/app/controllers/commands_controller.rb @@ -11,9 +11,9 @@ class CommandsController < ApplicationController case result when Command::Result::Redirection - redirect_to result.url + redirect_to result.url else - redirect_back_or_to root_path + redirect_back_or_to root_path end else render turbo_stream: turbo_stream.replace("commands_form", partial: "commands/form", locals: { error: true })