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