diff options
author | Marin Jankovski <maxlazio@gmail.com> | 2014-12-30 13:36:13 +0100 |
---|---|---|
committer | Marin Jankovski <maxlazio@gmail.com> | 2014-12-30 13:37:14 +0100 |
commit | 7fa80b5bd01caff61c08c70b052c9965893cce5a (patch) | |
tree | 16c2d931e473818edcba13f4d7ae0b0c02ac8c83 /lib/api/helpers.rb | |
parent | 0991d19c0d157025db8e9bf01d216771a4dbfe31 (diff) | |
download | gitlab-ce-7fa80b5bd01caff61c08c70b052c9965893cce5a.tar.gz |
Update branch api not found messages to 'Branch not found'.
Diffstat (limited to 'lib/api/helpers.rb')
-rw-r--r-- | lib/api/helpers.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/helpers.rb b/lib/api/helpers.rb index 2f2342840fd..62c26ef76ce 100644 --- a/lib/api/helpers.rb +++ b/lib/api/helpers.rb @@ -42,7 +42,7 @@ module API def user_project @project ||= find_project(params[:id]) - @project || not_found! + @project || not_found!("Project") end def find_project(id) |