File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed
Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ class GuestDeviceController < ApplicationController
33 include Mixins ::GenericShowMixin
44 include Mixins ::MoreShowActions
55 include Mixins ::GenericSessionMixin
6+ include Mixins ::BreadcrumbsMixin
67
78 before_action :check_privileges
89 before_action :get_session_data
@@ -19,6 +20,12 @@ def model
1920 self . class . model
2021 end
2122
23+ def download_summary_pdf
24+ assert_privileges ( 'embedded_automation_manager_credentials_view' )
25+
26+ super
27+ end
28+
2229 def self . table_name
2330 @table_name ||= "guest_device"
2431 end
@@ -34,4 +41,12 @@ def textual_group_list
3441 ]
3542 end
3643 helper_method ( :textual_group_list )
44+
45+ def breadcrumbs_options
46+ {
47+ :breadcrumbs => [
48+ { :title => _ ( "Guest Devices" ) , :url => controller_url } ,
49+ ] ,
50+ }
51+ end
3752end
Original file line number Diff line number Diff line change 13081308 show_list
13091309 show
13101310 quick_search
1311+ download_summary_pdf
13111312 ] ,
13121313
13131314 :post => %w[
You can’t perform that action at this time.
0 commit comments