diff --git a/app/controllers/tags_controller.rb b/app/controllers/tags_controller.rb index 0991d22cd..78a58e1db 100644 --- a/app/controllers/tags_controller.rb +++ b/app/controllers/tags_controller.rb @@ -18,6 +18,7 @@ def create redirect_to "/maps/" + @map.slug else + flash[:error] = "You must be logged in to add tags" redirect_to "/login?back_to=/maps/" + @map.slug end end