Unified diff viewer for attached files with .patch or .diff extension (#1403).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1516 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -31,6 +31,8 @@ ActionController::Routing::Routes.draw do |map|
|
||||
omap.repositories_entry 'repositories/annotate/:id/*path', :action => 'annotate'
|
||||
end
|
||||
|
||||
map.connect 'attachments/:id', :controller => 'attachments', :action => 'show'
|
||||
|
||||
# Allow downloading Web Service WSDL as a file with an extension
|
||||
# instead of a file named 'wsdl'
|
||||
map.connect ':controller/service.wsdl', :action => 'wsdl'
|
||||
|
||||
Reference in New Issue
Block a user