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