mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Show changes to event commercials in event changelog
This commit is contained in:
parent
da1c8fc691
commit
e2659ae907
5 changed files with 24 additions and 10 deletions
|
|
@ -86,6 +86,7 @@ module Admin
|
|||
@comment_count = @event.comment_threads.count
|
||||
@ratings = @event.votes.includes(:user)
|
||||
@difficulty_levels = @program.difficulty_levels
|
||||
@versions = @event.versions | PaperTrail::Version.where(item_type: 'Commercial', item_id: @event.commercials.pluck(:id))
|
||||
end
|
||||
|
||||
def edit
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue