"Successfully scheduled a pipeline to run. Go to the <a href=\"#{project_pipelines_path(@project)}\">Pipelines page</a> for details.".html_safe
flash[:notice]="Successfully scheduled a pipeline to run. Go to the <a href=\"#{project_pipelines_path(@project)}\">Pipelines page</a> for details.".html_safe
else
else
'Unable to schedule a pipeline to run immediately'
flash[:alert]='Unable to schedule a pipeline to run immediately'
end
end
redirect_topipeline_schedules_path(@project)
redirect_topipeline_schedules_path(@project)
...
@@ -81,8 +74,15 @@ class Projects::PipelineSchedulesController < Projects::ApplicationController
...
@@ -81,8 +74,15 @@ class Projects::PipelineSchedulesController < Projects::ApplicationController