Display who added commercial for event
Activate versioning for tests The tests were failing because of the lack of versioning.By default, versioning is off for tests. As a result, here (app/views/proposal/_form.html.haml L43) commercial,versions.last returns nil as there are no versions.
This commit is contained in:
parent
8335aa8b43
commit
48828f8930
5 changed files with 14 additions and 11 deletions
|
|
@ -17,7 +17,7 @@
|
|||
= version.id
|
||||
%td.col-md-9
|
||||
%p
|
||||
= change_creator_link(version.whodunnit) unless version.item_type == 'User'
|
||||
= link_to_user(version.whodunnit) unless version.item_type == 'User'
|
||||
|
||||
- case version.item_type
|
||||
- when 'Event'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue