X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/851de28303fc9c24d095b9452b862bea618ec0da..7c42552f16c646d5a21595bc008503b7bbb311f7:/app/controllers/redactions_controller.rb?ds=sidebyside diff --git a/app/controllers/redactions_controller.rb b/app/controllers/redactions_controller.rb index 201f1883f..a70ada3ec 100644 --- a/app/controllers/redactions_controller.rb +++ b/app/controllers/redactions_controller.rb @@ -19,7 +19,7 @@ class RedactionsController < ApplicationController def create @redaction = Redaction.new - @redaction.user_id = @user.id + @redaction.user = @user @redaction.title = params[:redaction][:title] @redaction.description = params[:redaction][:description] # didn't see this come in from the form - maybe i'm doing something