New Feature: Git Blame for file
This commit is contained in:
parent
2e54ac17c5
commit
9cd8f7b082
9 changed files with 135 additions and 15 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue