summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortiagonbotelho <tiagonbotelho@hotmail.com>2016-07-08 12:06:39 +0100
committertiagonbotelho <tiagonbotelho@hotmail.com>2016-07-08 12:06:39 +0100
commit58c76f4be1b6c3ea3db62b771f8df8b71bc57273 (patch)
tree94b6e188d372ffa820f60b36a8c6d11f70cd24ab
parent94d9e168def805afe04084c4206a78e3fa0e9f69 (diff)
downloadgitlab-ce-58c76f4be1b6c3ea3db62b771f8df8b71bc57273.tar.gz
fixes missing field on basicprojectdetails
-rw-r--r--.Gemfile.swmbin0 -> 16384 bytes
-rw-r--r--.Gemfile.swnbin0 -> 16384 bytes
-rw-r--r--app/assets/javascripts/gl_dropdown.js.coffee1
-rw-r--r--lib/api/entities.rb1
4 files changed, 2 insertions, 0 deletions
diff --git a/.Gemfile.swm b/.Gemfile.swm
new file mode 100644
index 00000000000..c5905cff793
--- /dev/null
+++ b/.Gemfile.swm
Binary files differ
diff --git a/.Gemfile.swn b/.Gemfile.swn
new file mode 100644
index 00000000000..55223d29929
--- /dev/null
+++ b/.Gemfile.swn
Binary files differ
diff --git a/app/assets/javascripts/gl_dropdown.js.coffee b/app/assets/javascripts/gl_dropdown.js.coffee
index ed9dfcc917e..233a3873ce9 100644
--- a/app/assets/javascripts/gl_dropdown.js.coffee
+++ b/app/assets/javascripts/gl_dropdown.js.coffee
@@ -399,6 +399,7 @@ class GitLabDropdown
selected = true
# Set URL
+ console.log(data)
if @options.url?
url = @options.url(data)
else
diff --git a/lib/api/entities.rb b/lib/api/entities.rb
index aae1840821e..8cba77b148a 100644
--- a/lib/api/entities.rb
+++ b/lib/api/entities.rb
@@ -54,6 +54,7 @@ module API
class BasicProjectDetails < Grape::Entity
expose :id
+ expose :http_url_to_repo, :web_url
expose :name, :name_with_namespace
expose :path, :path_with_namespace
end