mirror of
https://github.com/redmine/redmine.git
synced 2025-11-02 03:15:57 +01:00
Displays thumbnails of attached images of the issue view (#1006).
This behaviour can be turned on/off in Settings -> Display (off by default). Thumbnail size can be configured there too. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9933 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -45,6 +45,10 @@ class RoutingAttachmentsTest < ActionController::IntegrationTest
|
||||
{ :controller => 'attachments', :action => 'download', :id => '1',
|
||||
:filename => 'filename.ext' }
|
||||
)
|
||||
assert_routing(
|
||||
{ :method => 'get', :path => "/attachments/thumbnail/1" },
|
||||
{ :controller => 'attachments', :action => 'thumbnail', :id => '1' }
|
||||
)
|
||||
assert_routing(
|
||||
{ :method => 'delete', :path => "/attachments/1" },
|
||||
{ :controller => 'attachments', :action => 'destroy', :id => '1' }
|
||||
|
||||
Reference in New Issue
Block a user