Allow other roles to view revision_history only with the versions they have access
This commit is contained in:
parent
51d569794f
commit
3a3d01150a
7 changed files with 16 additions and 9 deletions
|
|
@ -8,7 +8,7 @@
|
|||
%span.caret
|
||||
%ul.dropdown-menu
|
||||
%li= link_to 'All Conferences & Users', admin_revision_history_path
|
||||
- @conf_ids_for_organizer.each do |conference_short_title|
|
||||
- @conf_ids_with_role.each do |conference_short_title|
|
||||
%li= link_to conference_short_title, admin_conference_revision_history_path(conference_id: conference_short_title)
|
||||
|
||||
%h1 Revision History
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue