Clean-up workflows controller (#33337).

Patch by Vincent Robert and Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@20941 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA
2021-04-13 09:01:44 +00:00
parent 6c5a16daf8
commit f2b17f7794
11 changed files with 85 additions and 72 deletions

View File

@@ -23,12 +23,12 @@ class RoutingWorkflowsTest < Redmine::RoutingTest
def test_workflows
should_route 'GET /workflows' => 'workflows#index'
should_route 'GET /workflows/edit' => 'workflows#edit'
should_route 'POST /workflows/edit' => 'workflows#edit'
should_route 'PATCH /workflows/update' => 'workflows#update'
should_route 'GET /workflows/permissions' => 'workflows#permissions'
should_route 'POST /workflows/permissions' => 'workflows#permissions'
should_route 'PATCH /workflows/update_permissions' => 'workflows#update_permissions'
should_route 'GET /workflows/copy' => 'workflows#copy'
should_route 'POST /workflows/copy' => 'workflows#copy'
should_route 'POST /workflows/duplicate' => 'workflows#duplicate'
end
end