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 => /.*/}