diff --git a/app/models/gollum_wiki.rb b/app/models/gollum_wiki.rb index 05fc2a7..7ebaaff 100644 --- a/app/models/gollum_wiki.rb +++ b/app/models/gollum_wiki.rb @@ -33,7 +33,7 @@ class GollumWiki end def http_url_to_repo - http_url = [Gitlab.config.gitlab.url, "/", path_with_namespace, ".git"].join('') + [Gitlab.config.gitlab.url, "/", path_with_namespace, ".git"].join('') end # Returns the Gollum::Wiki object. diff --git a/app/models/project.rb b/app/models/project.rb index 794f9be..0edc074 100644 --- a/app/models/project.rb +++ b/app/models/project.rb @@ -392,7 +392,7 @@ class Project < ActiveRecord::Base end def http_url_to_repo - http_url = [Gitlab.config.gitlab.url, "/", path_with_namespace, ".git"].join('') + [Gitlab.config.gitlab.url, "/", path_with_namespace, ".git"].join('') end # Check if current branch name is marked as protected in the system -- libgit2 0.21.2