mirror of
https://github.com/redmine/redmine.git
synced 2025-11-11 15:56:03 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user