From 0ef83740f7ba232f21e2e19abd85ecc448b0304c Mon Sep 17 00:00:00 2001 From: Jorge Manrubia Date: Tue, 6 May 2025 11:10:53 +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 94d9008e5..2b67d1a13 100644 --- a/app/controllers/commands_controller.rb +++ b/app/controllers/commands_controller.rb @@ -10,9 +10,9 @@ class CommandsController < ApplicationController result = command.execute case result - when Command::Result::Redirection + when Command::Result::Redirection redirect_to result.url - else + else redirect_back_or_to root_path end else