clarify why creating comments is not allowed
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user