Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

756 B
Raw Blame
Rails.application.routes.draw do
  resources :team_planners,
            controller: "team_planner/team_planner",
            only: %i[create] do
    collection do
      get "/", to: "team_planner/team_planner#overview"
      get "/new", to: "team_planner/team_planner#new"
    end
  end

  scope "projects/:project_id", as: "project" do
    resources :team_planners,
              controller: "team_planner/team_planner",
              only: %i[index destroy],
              as: :team_planners do
      collection do
        get "menu" => "team_planner/menus#show"
        get "/new", to: "team_planner/team_planner#show", as: :new
      end

      member do
        get "(/*state)" => "team_planner/team_planner#show", as: ""
      end
    end
  end
end