New Feature: Git Blame for file

This commit is contained in:
Dmitriy Zaporozhets 2012-05-17 19:11:45 +03:00
parent 2e54ac17c5
commit 9cd8f7b082
9 changed files with 135 additions and 15 deletions

View file

@ -94,6 +94,14 @@ Gitlab::Application.routes.draw do
:id => /[a-zA-Z.0-9\/_\-]+/,
:path => /.*/
}
# blame
get "blame/:path" => "refs#blame",
:as => :blame_file,
:constraints => {
:id => /[a-zA-Z.0-9\/_\-]+/,
:path => /.*/
}
end
end