Sha256: 40141a6bf93f1c8de59fd1e8d253dba77822a670562fe66aed81a504692cf0da

Contents?: true

Size: 392 Bytes

Versions: 26

Compression:

Stored size: 392 Bytes

Contents

module Admin
  class LogsController < ApplicationController
    before_action(:authenticate_user!) if defined?(Devise)
    before_action { EffectiveResources.authorize!(self, :admin, :effective_logging) }

    include Effective::CrudController
    skip_log_page_views

    if (config = EffectiveLogging.layout)
      layout(config.kind_of?(Hash) ? config[:admin] : config)
    end

  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
effective_logging-3.5.4 app/controllers/admin/logs_controller.rb
effective_logging-3.5.3 app/controllers/admin/logs_controller.rb
effective_logging-3.5.2 app/controllers/admin/logs_controller.rb
effective_logging-3.5.1 app/controllers/admin/logs_controller.rb
effective_logging-3.5.0 app/controllers/admin/logs_controller.rb
effective_logging-3.4.1 app/controllers/admin/logs_controller.rb
effective_logging-3.4.0 app/controllers/admin/logs_controller.rb
effective_logging-3.3.0 app/controllers/admin/logs_controller.rb
effective_logging-3.2.3 app/controllers/admin/logs_controller.rb
effective_logging-3.2.2 app/controllers/admin/logs_controller.rb
effective_logging-3.2.1 app/controllers/admin/logs_controller.rb
effective_logging-3.2.0 app/controllers/admin/logs_controller.rb
effective_logging-3.1.15 app/controllers/admin/logs_controller.rb
effective_logging-3.1.14 app/controllers/admin/logs_controller.rb
effective_logging-3.1.13 app/controllers/admin/logs_controller.rb
effective_logging-3.1.12 app/controllers/admin/logs_controller.rb
effective_logging-3.1.11 app/controllers/admin/logs_controller.rb
effective_logging-3.1.10 app/controllers/admin/logs_controller.rb
effective_logging-3.1.9 app/controllers/admin/logs_controller.rb
effective_logging-3.1.8 app/controllers/admin/logs_controller.rb