mirror of
https://github.com/redmine/redmine.git
synced 2026-08-30 11:18:09 +02:00
Adds "New wiki page" link to create a new wiki page (#5536).
git-svn-id: http://svn.redmine.org/redmine/trunk@15346 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -30,6 +30,9 @@ class RoutingWikiTest < Redmine::RoutingTest
|
||||
should_route 'GET /projects/foo/wiki/page' => 'wiki#show', :project_id => 'foo', :id => 'page'
|
||||
should_route 'GET /projects/foo/wiki/page.pdf' => 'wiki#show', :project_id => 'foo', :id => 'page', :format => 'pdf'
|
||||
|
||||
should_route 'GET /projects/foo/wiki/new' => 'wiki#new', :project_id => 'foo'
|
||||
should_route 'POST /projects/foo/wiki/new' => 'wiki#new', :project_id => 'foo'
|
||||
|
||||
should_route 'GET /projects/foo/wiki/page/edit' => 'wiki#edit', :project_id => 'foo', :id => 'page'
|
||||
should_route 'PUT /projects/foo/wiki/page' => 'wiki#update', :project_id => 'foo', :id => 'page'
|
||||
should_route 'DELETE /projects/foo/wiki/page' => 'wiki#destroy', :project_id => 'foo', :id => 'page'
|
||||
|
||||
Reference in New Issue
Block a user