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
|
|
@ -212,7 +212,7 @@ class Ability
|
|||
end
|
||||
|
||||
can [:index, :revert_object, :revert_attribute], PaperTrail::Version do |version|
|
||||
version.item_type == 'Event' && (conf_ids_for_cfp.include? version.conference_id)
|
||||
%w(Event Commercial).include?(version.item_type) && (conf_ids_for_cfp.include? version.conference_id)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue