Files
fizzy/app/controllers/prompts/commands_controller.rb
T
Jorge Manrubia ddb0470480 Format
2025-07-02 21:26:24 +02:00

21 lines
751 B
Ruby

class Prompts::CommandsController < ApplicationController
def index
@commands = [
[ "/add_card", "Create a new card", "/add_card " ],
[ "/assign", "Assign cards to users", "/assign @" ],
[ "/clear", "Clear current filters", "/clear" ],
[ "/close", "Close cards with a reason", "/close " ],
[ "/consider", "Reconsider cards", "/consider" ],
[ "/do", "Move cards to doing", "/do" ],
[ "/reconsider", "Move cards to reconsidering", "/reconsider" ],
[ "/search", "Search cards and comments", "/search " ],
[ "/tag", "Tag selected cards", "/tag #" ],
[ "/stage", "Set cards to a workflow stage", "/stage " ]
]
if stale? etag: @commands
render layout: false
end
end
end