mirror of
https://github.com/drapergem/draper
synced 2023-03-27 23:21:17 -04:00
Updating with latest master.
Needed to turn Base -> Decorator, and also add the test db back to the repo so that travis will have a copy.
This commit is contained in:
parent
eddebf8cdc
commit
9f869ab84c
3 changed files with 1 additions and 2 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -12,4 +12,3 @@ vendor/bundle
|
|||
*.swo
|
||||
*.DS_Store
|
||||
spec/dummy/log/*
|
||||
spec/dummy/db/*.sqlite3
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
class PostDecorator < Draper::Base
|
||||
class PostDecorator < Draper::Decorator
|
||||
decorates :post
|
||||
|
||||
def posted_date
|
||||
|
|
BIN
spec/dummy/db/test.sqlite3
Normal file
BIN
spec/dummy/db/test.sqlite3
Normal file
Binary file not shown.
Loading…
Reference in a new issue