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.1.7 app/controllers/admin/logs_controller.rb
effective_logging-3.1.6 app/controllers/admin/logs_controller.rb
effective_logging-3.1.5 app/controllers/admin/logs_controller.rb
effective_logging-3.1.4 app/controllers/admin/logs_controller.rb
effective_logging-3.1.3 app/controllers/admin/logs_controller.rb
effective_logging-3.1.2 app/controllers/admin/logs_controller.rb