X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b70da7b8ea15ab48bb2f34155567cea6dffc8fc9..d6b5c0e5c5f94666c80dd0a73dd8ac2b814a7f91:/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]