summaryrefslogtreecommitdiff
path: root/lib/api/helpers.rb
diff options
context:
space:
mode:
authorMarin Jankovski <maxlazio@gmail.com>2014-12-30 13:36:13 +0100
committerMarin Jankovski <maxlazio@gmail.com>2014-12-30 13:37:14 +0100
commit7fa80b5bd01caff61c08c70b052c9965893cce5a (patch)
tree16c2d931e473818edcba13f4d7ae0b0c02ac8c83 /lib/api/helpers.rb
parent0991d19c0d157025db8e9bf01d216771a4dbfe31 (diff)
downloadgitlab-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.rb2
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)