summaryrefslogtreecommitdiff
path: root/app/controllers/projects/pipeline_schedules_controller.rb
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2017-12-07 23:58:05 -0800
committerStan Hu <stanhu@gmail.com>2017-12-12 15:07:24 -0800
commit0ea70802e19cbe11c6af0f6750200bb137225940 (patch)
tree24bb68bb5726f3b896fae93b4155ce7e61c1910c /app/controllers/projects/pipeline_schedules_controller.rb
parentad3732955389024b8a209455f9a889d5ebf411b9 (diff)
downloadgitlab-ce-0ea70802e19cbe11c6af0f6750200bb137225940.tar.gz
Fix Sidekiq worker and make flash message return a link to the pipelines page
Diffstat (limited to 'app/controllers/projects/pipeline_schedules_controller.rb')
-rw-r--r--app/controllers/projects/pipeline_schedules_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/pipeline_schedules_controller.rb b/app/controllers/projects/pipeline_schedules_controller.rb
index a4e865cb9da..fe77d8eabeb 100644
--- a/app/controllers/projects/pipeline_schedules_controller.rb
+++ b/app/controllers/projects/pipeline_schedules_controller.rb
@@ -46,7 +46,7 @@ class Projects::PipelineSchedulesController < Projects::ApplicationController
flash[:notice] =
if job_id
- 'Successfully scheduled pipeline to run immediately'
+ "Successfully scheduled a pipeline to run. Go to the <a href=\"#{project_pipelines_path(@project)}\">Pipelines page</a> for details".html_safe
else
'Unable to schedule a pipeline to run immediately'
end