mirror of
https://github.com/drapergem/draper
synced 2023-03-27 23:21:17 -04:00
Hacking around Rails 4.2 incompatibilities
This commit is contained in:
parent
25d4c843dd
commit
f4797ed1e1
1 changed files with 4 additions and 0 deletions
|
@ -53,4 +53,8 @@ class PostDecorator < Draper::Decorator
|
|||
def updated_at
|
||||
:overridden
|
||||
end
|
||||
|
||||
def persisted?
|
||||
true
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue