This commit is contained in:
Jorge Manrubia
2025-05-06 11:09:07 +02:00
parent 712b4157bb
commit d510cbd92e
-4
View File
@@ -30,8 +30,4 @@ class CommandsController < ApplicationController
def parsing_context
Command::Parser::Context.new(Current.user, url: request.referrer)
end
def card_ids_from_header
request.headers["X-Cards"].to_s.split(",").map(&:to_i) if request.headers["X-Card-Ids"]
end
end