Sha256: f9d1895749957919982333ab6339c19e3dd06b0319199ef93f9160fcd060a6c0

Contents?: true

Size: 245 Bytes

Versions: 39

Compression:

Stored size: 245 Bytes

Contents

class AdminsController < ApplicationController
  before_filter :authenticate_admin!

  def index
  end

  def expire
    admin_session['last_request_at'] = 31.minutes.ago.utc
    render :text => 'Admin will be expired on next request'
  end
end

Version data entries

39 entries across 39 versions & 7 rubygems

Version Path
devise-3.2.3 test/rails_app/app/controllers/admins_controller.rb
devise-token_authenticatable-0.1.0 spec/support/rails_app/app/controllers/admins_controller.rb
devise-token_authenticatable-0.1.0.beta1 spec/support/rails_app/app/controllers/admins_controller.rb
devise-3.2.2 test/rails_app/app/controllers/admins_controller.rb
devise-3.2.1 test/rails_app/app/controllers/admins_controller.rb
devise-3.1.2 test/rails_app/app/controllers/admins_controller.rb
devise-3.0.4 test/rails_app/app/controllers/admins_controller.rb
devise-2.2.8 test/rails_app/app/controllers/admins_controller.rb
devise-3.2.0 test/rails_app/app/controllers/admins_controller.rb
devise-3.1.1 test/rails_app/app/controllers/admins_controller.rb
devise-3.1.0 test/rails_app/app/controllers/admins_controller.rb
devise-2.1.4 test/rails_app/app/controllers/admins_controller.rb
devise-2.2.7 test/rails_app/app/controllers/admins_controller.rb
devise-3.0.3 test/rails_app/app/controllers/admins_controller.rb
devise-3.1.0.rc2 test/rails_app/app/controllers/admins_controller.rb
devise-2.2.6 test/rails_app/app/controllers/admins_controller.rb
devise-3.0.2 test/rails_app/app/controllers/admins_controller.rb
devise-3.0.1 test/rails_app/app/controllers/admins_controller.rb
devise-2.2.5 test/rails_app/app/controllers/admins_controller.rb
loyal_devise-2.1.7 test/rails_app/app/controllers/admins_controller.rb