Sha256: d92e9be045482f32abd3e0cad008dde25ed00b14ea1f0c887acd0da637e83e13

Contents?: true

Size: 341 Bytes

Versions: 4

Compression:

Stored size: 341 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
      @link_count = Link.count
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
stenographer-rails-0.7.4 app/controllers/stenographer/admin_controller.rb
stenographer-rails-0.7.3 app/controllers/stenographer/admin_controller.rb
stenographer-rails-0.7.1 app/controllers/stenographer/admin_controller.rb
stenographer-rails-0.7.0 app/controllers/stenographer/admin_controller.rb