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