clarify why creating comments is not allowed

This commit is contained in:
jomo
2014-06-30 23:47:09 +02:00
parent e7051b9f5e
commit d50c674664

View File

@@ -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