Use regular edit/update actions and named routes for JournalsController.

git-svn-id: http://svn.redmine.org/redmine/trunk@15074 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2016-01-21 04:39:56 +00:00
parent e2a999743e
commit 6bb1ea8ae8
9 changed files with 38 additions and 34 deletions

View File

@@ -21,9 +21,9 @@ class RoutingJournalsTest < Redmine::RoutingTest
def test_journals
should_route 'POST /issues/1/quoted' => 'journals#new', :id => '1'
should_route 'GET /issues/changes' => 'journals#index'
should_route 'GET /journals/diff/1' => 'journals#diff', :id => '1'
should_route 'GET /journals/1/diff' => 'journals#diff', :id => '1'
should_route 'GET /journals/edit/1' => 'journals#edit', :id => '1'
should_route 'POST /journals/edit/1' => 'journals#edit', :id => '1'
should_route 'GET /journals/1/edit' => 'journals#edit', :id => '1'
should_route 'PUT /journals/1' => 'journals#update', :id => '1'
end
end