Allow other roles to view revision_history only with the versions they have access

This commit is contained in:
Nishanth Vijayan 2016-08-17 05:05:46 +05:30
parent 51d569794f
commit 3a3d01150a
7 changed files with 16 additions and 9 deletions

View file

@ -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