Sha256: 1e3ac3d4560b361645a6690d1fca82a2764209b5dac9fab33ae68e80d6210bf4

Contents?: true

Size: 170 Bytes

Versions: 8

Compression:

Stored size: 170 Bytes

Contents

class Authentications::EventsController < ApplicationController
  def index
    render json: Current.<%= singular_table_name %>.events.order(created_at: :desc)
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
authentication-zero-2.11.2 lib/generators/authentication/templates/controllers/api/authentications/events_controller.rb.tt
authentication-zero-2.11.1 lib/generators/authentication/templates/controllers/api/authentications/events_controller.rb.tt
authentication-zero-2.11.0 lib/generators/authentication/templates/controllers/api/authentications/events_controller.rb.tt
authentication-zero-2.10.0 lib/generators/authentication/templates/controllers/api/authentications/events_controller.rb.tt
authentication-zero-2.9.3 lib/generators/authentication/templates/controllers/api/authentications/events_controller.rb.tt
authentication-zero-2.9.2 lib/generators/authentication/templates/controllers/api/authentications/events_controller.rb.tt
authentication-zero-2.9.1 lib/generators/authentication/templates/controllers/api/authentications/events_controller.rb.tt
authentication-zero-2.9.0 lib/generators/authentication/templates/controllers/api/authentications/events_controller.rb.tt