X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b70da7b8ea15ab48bb2f34155567cea6dffc8fc9..f41bb4c325d8b9dbb960069c100a224fdb7cdb0e:/app/controllers/redactions_controller.rb diff --git a/app/controllers/redactions_controller.rb b/app/controllers/redactions_controller.rb index 30425bd42..6e28f3625 100644 --- a/app/controllers/redactions_controller.rb +++ b/app/controllers/redactions_controller.rb @@ -14,10 +14,14 @@ class RedactionsController < ApplicationController @redactions = Redaction.order(:id) end + def show; end + def new @redaction = Redaction.new end + def edit; end + def create @redaction = Redaction.new @redaction.user = current_user @@ -33,10 +37,6 @@ class RedactionsController < ApplicationController end end - def show; end - - def edit; end - def update # NOTE: don't update the user ID @redaction.title = params[:redaction][:title]