Workflows index

This commit is contained in:
2026-03-22 22:50:37 +02:00
parent 72af5a0610
commit 1c1d11cbe6
16 changed files with 179 additions and 18 deletions
@@ -0,0 +1,13 @@
# frozen_string_literal: true
module ProjectAdmin
class ApplicationController < ::ApplicationController
before_action :fetch_project
private
def fetch_project
@project = Project.find_by!(code: params[:project_id])
end
end
end
@@ -0,0 +1,9 @@
# frozen_string_literal: true
module ProjectAdmin
class WorkflowsController < ApplicationController
def index
@workflows = @project.workflows
end
end
end