mirror of
https://github.com/meineerde/redmine.git
synced 2026-01-31 19:47:14 +00:00
Fix RuboCop offense Style/HashSyntax (Don't mix styles in the same hash) introduced in r22563 (#39747, #36320).
git-svn-id: https://svn.redmine.org/redmine/trunk@22565 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
9b247230f7
commit
4383e0fbbc
@ -300,12 +300,12 @@ Rails.application.routes.draw do
|
||||
get "projects/:id/repository/:repository_id/revisions/:rev/diff(/*path)",
|
||||
:to => 'repositories#diff',
|
||||
:format => 'html',
|
||||
:constraints => {:rev => /[a-z0-9\.\-_]+/, :path => /.*/, format: /(html|diff)/ }
|
||||
:constraints => {:rev => /[a-z0-9\.\-_]+/, :path => /.*/, :format => /(html|diff)/ }
|
||||
|
||||
get "projects/:id/repository/:repository_id/diff(/*path)",
|
||||
:to => 'repositories#diff',
|
||||
:format => 'html',
|
||||
:constraints => {:path => /.*/, format: /(html|diff)/ }
|
||||
:constraints => {:path => /.*/, :format => /(html|diff)/ }
|
||||
|
||||
get 'projects/:id/repository/:repository_id/show/*path', :to => 'repositories#show', :format => 'html', :constraints => {:path => /.*/}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user