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

Version Path
thecore_ui_rails_admin-3.2.9 lib/root_actions/active_job_monitor.rb
thecore_ui_rails_admin-3.2.8 lib/root_actions/active_job_monitor.rb
thecore_ui_rails_admin-3.2.7 lib/root_actions/active_job_monitor.rb
thecore_ui_rails_admin-3.2.6 lib/root_actions/active_job_monitor.rb
thecore_ui_rails_admin-3.2.5 lib/root_actions/active_job_monitor.rb
thecore_ui_rails_admin-3.2.4 lib/root_actions/active_job_monitor.rb
thecore_ui_rails_admin-3.2.3 lib/root_actions/active_job_monitor.rb
thecore_ui_rails_admin-3.2.2 lib/root_actions/active_job_monitor.rb
thecore_ui_rails_admin-3.2.1 lib/root_actions/active_job_monitor.rb
thecore_ui_rails_admin-3.2.0 lib/root_actions/active_job_monitor.rb
thecore_ui_rails_admin-3.1.6 lib/root_actions/active_job_monitor.rb
thecore_ui_rails_admin-3.1.5 lib/root_actions/active_job_monitor.rb
thecore_ui_rails_admin-3.1.4 lib/root_actions/active_job_monitor.rb