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
Add routes for time entry tracking
Klaus Zanders50702c6d1ae5
diff --git a/modules/costs/app/controllers/projects/time_entries_controller.rb b/modules/costs/app/controllers/projects/time_entries_controller.rbindex 0f6a6ab3a34..dc696494dd0 100644--- a/modules/costs/app/controllers/projects/time_entries_controller.rb+++ b/modules/costs/app/controllers/projects/time_entries_controller.rb@@ -29,6 +29,7 @@module Projectsclass TimeEntriesController < ApplicationControllerbefore_action :require_login+ before_action :load_and_authorize_in_optional_projectdef dialog; enddiff --git a/modules/costs/config/routes.rb b/modules/costs/config/routes.rbindex 1619251f6ea..ad24189bd33 100644--- a/modules/costs/config/routes.rb+++ b/modules/costs/config/routes.rb@@ -33,6 +33,10 @@ Rails.application.routes.draw doresources :hourly_rates, only: %i[show edit update] dopost :set_rate, on: :memberend++ resources :time_entries, only: %i[create update] do+ get :dialog, on: :collection+ endendscope "my" do