Accidentally named to paths equally. Fixed.
This commit is contained in:
parent
0f88c13025
commit
854b6d1390
1 changed files with 2 additions and 2 deletions
|
|
@ -28,10 +28,10 @@ Debshots::Application.routes.draw do
|
|||
get 'approve_screenshot/:id' => 'packages#approve_screenshot', as: :approve_screenshot
|
||||
get 'about' => 'welcome#about'
|
||||
get 'thumbnail/:name' => 'packages#thumbnail', as: :thumbnail_image, name: /[^\/]+/
|
||||
get 'thumbnail-404/:name' => 'packages#thumbnail', as: :thumbnail_image, name: /[^\/]+/
|
||||
get 'thumbnail-404/:name' => 'packages#thumbnail', name: /[^\/]+/
|
||||
get 'thumbnail-with-version/:name/:version' => 'packages#thumbnail', name: /[^\/]+/, version: /\S+/
|
||||
get 'screenshot/:name' => 'packages#screenshot', as: :screenshot_image, name: /[^\/]+/
|
||||
get 'screenshot-404/:name' => 'packages#screenshot', as: :screenshot_image, name: /[^\/]+/
|
||||
get 'screenshot-404/:name' => 'packages#screenshot', name: /[^\/]+/
|
||||
get 'screenshot-with-version/:name/:version' => 'packages#screenshot', name: /[^\/]+/, version: /\S+/
|
||||
|
||||
# Legacy URLs
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue