Sha256: 44a1de68a90e46bf22b785331d47c56321228b2b22d776699085a53e7b794c97
Contents?: true
Size: 662 Bytes
Versions: 13
Compression:
Stored size: 662 Bytes
Contents
RailsAdmin::Config::Actions.add_action "active_job_monitor", :base, :root do show_in_sidebar true show_in_navigation false breadcrumb_parent [nil] # This ensures the action only shows up for Users # visible? authorized? # Not a member action member false # Not a colleciton action collection false link_icon 'fas fa-eye' http_methods [:get] # Adding the controller which is needed to compute calls from the ui controller do proc do # This is needed because we need that this code is re-evaluated each time is called puts "Loading Active Job Monitor Controller" end end end
Version data entries
13 entries across 13 versions & 1 rubygems