]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/redactions_controller.rb
Don't mark banner cookies as HttpOnly
[rails.git] / app / controllers / redactions_controller.rb
index 45a41058c04f77cc785775060e30a4663777a9d4..30425bd429babe42827509eb30c331e00a4cc3d1 100644 (file)
@@ -23,7 +23,7 @@ class RedactionsController < ApplicationController
     @redaction.user = current_user
     @redaction.title = params[:redaction][:title]
     @redaction.description = params[:redaction][:description]
     @redaction.user = current_user
     @redaction.title = params[:redaction][:title]
     @redaction.description = params[:redaction][:description]
-    # note that the description format will default to 'markdown'
+    # NOTE: the description format will default to 'markdown'
 
     if @redaction.save
       flash[:notice] = t(".flash")
 
     if @redaction.save
       flash[:notice] = t(".flash")
@@ -38,7 +38,7 @@ class RedactionsController < ApplicationController
   def edit; end
 
   def update
   def edit; end
 
   def update
-    # note - don't update the user ID
+    # NOTE: don't update the user ID
     @redaction.title = params[:redaction][:title]
     @redaction.description = params[:redaction][:description]
 
     @redaction.title = params[:redaction][:title]
     @redaction.description = params[:redaction][:description]