From d50c674664a9be014d465bb2fb181fa0ab7b9f47 Mon Sep 17 00:00:00 2001 From: jomo Date: Mon, 30 Jun 2014 23:47:09 +0200 Subject: [PATCH] clarify why creating comments is not allowed --- app/controllers/comments_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/comments_controller.rb b/app/controllers/comments_controller.rb index 53e4b84..f6e6747 100644 --- a/app/controllers/comments_controller.rb +++ b/app/controllers/comments_controller.rb @@ -24,7 +24,7 @@ class CommentsController < ApplicationController redirect_to Blogpost.find(params[:blogpost_id]) end else - flash[:alert] = "You are not allowed to create comments." + flash[:alert] = "Please confirm your email address first!" redirect_to Blogpost.find(params[:blogpost_id]) end end