Sha256: d23fa093f05e18b4408f7873bde80c74c0848918a69695907dd17c8bfe29dd00

Contents?: true

Size: 310 Bytes

Versions: 6

Compression:

Stored size: 310 Bytes

Contents

# frozen_string_literal: true

require_dependency 'stenographer/application_controller'

module Stenographer
  class AdminController < ApplicationController
    def index
      @change_count = Change.count
      @authentication_count = Authentication.count
      @output_count = Output.count
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
stenographer-rails-0.6.5 app/controllers/stenographer/admin_controller.rb
stenographer-rails-0.6.4 app/controllers/stenographer/admin_controller.rb
stenographer-rails-0.6.3 app/controllers/stenographer/admin_controller.rb
stenographer-rails-0.6.2 app/controllers/stenographer/admin_controller.rb
stenographer-rails-0.6.1 app/controllers/stenographer/admin_controller.rb
stenographer-rails-0.6.0 app/controllers/stenographer/admin_controller.rb