mirror of
https://github.com/redmine/redmine.git
synced 2026-05-07 17:17:06 +02:00
Plugins cannot route wiki page sub-path (#12749).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11166 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -53,6 +53,10 @@ class RoutingWikiTest < ActionController::IntegrationTest
|
||||
{ :controller => 'wiki', :action => 'annotate', :project_id => '1',
|
||||
:id => 'CookBook_documentation', :version => '2' }
|
||||
)
|
||||
# Make sure we don't route wiki page sub-uris to let plugins handle them
|
||||
assert_raise(ActionController::RoutingError) do
|
||||
assert_recognizes({}, {:method => 'get', :path => "/projects/1/wiki/CookBook_documentation/whatever"})
|
||||
end
|
||||
end
|
||||
|
||||
def test_wiki_misc
|
||||
|
||||
Reference in New Issue
Block a user