Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZ.J. van de Weg <git@zjvandeweg.nl>2017-08-01 15:34:11 +0300
committerZ.J. van de Weg <git@zjvandeweg.nl>2017-08-01 15:36:42 +0300
commit3baf3dc955dfaad2961bba548dab940b55dfa68e (patch)
treeda2800408de827b68899e402495f4020bc6b4e40 /app/controllers
parenta853d3e944abb7a6d60ea24381028020166760d1 (diff)
Rename GitLabProjectImporterService and misc fixes
First round of review, main changes: - templates.title is human readable, #name will be passed around - GitLabProjectImporterService has been renamed
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/projects_controller.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb
index 275474d02f6..db4ea9c7d27 100644
--- a/app/controllers/projects_controller.rb
+++ b/app/controllers/projects_controller.rb
@@ -329,7 +329,7 @@ class ProjectsController < Projects::ApplicationController
:runners_token,
:tag_list,
:visibility_level,
- :template_title,
+ :template_name,
project_feature_attributes: %i[
builds_access_level
@@ -352,7 +352,7 @@ class ProjectsController < Projects::ApplicationController
end
def project_from_template?
- project_params[:template_title]&.present?
+ project_params[:template_name]&.present?
end
def project_view_files?