404 Not found while restoring documents from the trash bin #1366
This commit is contained in:
parent
92d0cf90ae
commit
f19fcfc337
@ -96,11 +96,11 @@ if Redmine::Plugin.installed? :redmine_dmsf
|
||||
get '/dmsf/files/:id/revision/obsolete', controller: 'dmsf_files', action: 'obsolete_revision', as: 'obsolete_revision'
|
||||
get '/dmsf/files/:id/download', to: 'dmsf_files#view', download: '', as: 'download_dmsf_file' # Otherwise will not route nil into the download param
|
||||
get '/dmsf/files/:id/view', to: 'dmsf_files#view', as: 'view_dmsf_file'
|
||||
get '/dmsf/files/:id/:filename', to: 'dmsf_files#view', :id => /\d+/, :filename => /.*/, as: 'static_dmsf_file'
|
||||
get '/dmsf/files/:id', controller: 'dmsf_files', action: 'show', as: 'dmsf_file'
|
||||
delete '/dmsf/files/:id', controller: 'dmsf_files', action: 'delete'
|
||||
get '/dmsf/files/:id/restore', controller: 'dmsf_files', action: 'restore', as: 'restore_dmsf_file'
|
||||
get '/dmsf/files/:id/thumbnail', to: 'dmsf_files#thumbnail', as: 'dmsf_thumbnail'
|
||||
get '/dmsf/files/:id/:filename', to: 'dmsf_files#view', :id => /\d+/, :filename => /.*/, as: 'static_dmsf_file'
|
||||
|
||||
#
|
||||
# url controller
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user