diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-10-04 22:10:08 +0300 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-10-04 22:10:08 +0300 |
commit | 54831bd44bdf7f7b19ac3a129ebf6384549d9c63 (patch) | |
tree | 176993bcaddc37494e56456ea00bc4d0199b328b /app/controllers | |
parent | f16ac0efda68cfb6819e784dbec5609b10e8de7d (diff) |
Updated messages and notices
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/projects/clusters_controller.rb | 6 |
1 files changed, 3 insertions, 3 deletions
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 |