def create
@redaction = Redaction.new
- @redaction.user = @user
+ @redaction.user = current_user
@redaction.title = params[:redaction][:title]
@redaction.description = params[:redaction][:description]
# note that the description format will default to 'markdown'
end
end
- def show
- end
+ def show; end
- def edit
- end
+ def edit; end
def update
# note - don't update the user ID