From 54831bd44bdf7f7b19ac3a129ebf6384549d9c63 Mon Sep 17 00:00:00 2001 From: Kamil Trzcinski Date: Wed, 4 Oct 2017 21:10:08 +0200 Subject: Updated messages and notices --- app/controllers/projects/clusters_controller.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'app/controllers') diff --git a/app/controllers/projects/clusters_controller.rb b/app/controllers/projects/clusters_controller.rb index 46118184993..051d3c00837 100644 --- a/app/controllers/projects/clusters_controller.rb +++ b/app/controllers/projects/clusters_controller.rb @@ -61,7 +61,7 @@ class Projects::ClustersController < Projects::ApplicationController .execute(cluster) if cluster.valid? - flash[:notice] = "Cluster updated" + flash[:notice] = "Cluster was successfully updated." redirect_to project_cluster_path(project, project.cluster) else render :show @@ -70,10 +70,10 @@ class Projects::ClustersController < Projects::ApplicationController def destroy if cluster.destroy - flash[:notice] = "Cluster removed" + flash[:notice] = "Cluster was successfully removed." redirect_to project_clusters_path(project), status: 302 else - flash[:notice] = "Cluster removed" + flash[:notice] = "Cluster was not removed." render :show end end -- cgit v1.2.3