]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/redaction.rb
Prevent unauthenticated users commenting on notes via the API
[rails.git] / app / models / redaction.rb
index d9b2a5579c5bf3b72831649b5d4d04cc5ca41326..f4eedde0a2daddb172843d910507494261c1b4ae 100644 (file)
@@ -24,7 +24,7 @@
 # record's title and description fields, which can be
 # displayed linked from the redacted records.
 #
-class Redaction < ActiveRecord::Base
+class Redaction < ApplicationRecord
   belongs_to :user
 
   has_many :old_nodes