Fix some rubocop rails style issues
This commit is contained in:
parent
2d22ab10f7
commit
dbe165bbb3
61 changed files with 336 additions and 348 deletions
|
@ -17,6 +17,6 @@ class Redaction < ActiveRecord::Base
|
|||
# this method overrides the AR default to provide the rich
|
||||
# text object for the description field.
|
||||
def description
|
||||
RichText.new(read_attribute(:description_format), read_attribute(:description))
|
||||
RichText.new(self[:description_format], self[:description])
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue