Add buttons to save/edit/delete a custom query to calendar view (#32194).

Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19322 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA
2019-11-30 00:58:45 +00:00
parent 84ab182bc0
commit f33d6177fe
4 changed files with 58 additions and 2 deletions

View File

@@ -147,6 +147,12 @@ class QueriesController < ApplicationController
else
redirect_to issues_gantt_path(options)
end
elsif params[:calendar]
if @project
redirect_to project_calendar_path(@project, options)
else
redirect_to issues_calendar_path(options)
end
else
redirect_to _project_issues_path(@project, options)
end