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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
# frozen_string_literal: true
Rails.application.routes.draw do
constraints(Constraints::ProjectIdentifier) do
scope "projects/:project_id", as: "project" do
scope module: "overviews" do
resource :overview, path: "/", only: [:show] do
constraints(Constraints::FeatureDecision.new(:new_project_overview)) do
get :dashboard, on: :member
end
end
controller :overviews do
get "project_custom_fields_sidebar" => :project_custom_fields_sidebar, as: :custom_fields_sidebar
get "project_life_cycle_sidebar" => :project_life_cycle_sidebar, as: :life_cycle_sidebar
end
resources :project_custom_field_sections, only: [:update], as: :custom_field_sections do
get :show_dialog, on: :member
end
namespace :widgets do
resource :project_status, only: %i[show update]
resource :news, only: %i[show]
resource :subitems, only: %i[show]
resource :members, only: %i[show]
end
end
end
end
scope module: "overviews" do
namespace :widgets do
resource :news, only: %i[show]
end
end
resources :project_phases, controller: "overviews/project_phases", only: %i[edit update] do
put :preview, on: :member
end
end