Skip to content

Instantly share code, notes, and snippets.

View llxff's full-sized avatar
👋
hey there!

Sasha Fomin llxff

👋
hey there!
View GitHub Profile
@llxff
llxff / keybase.md
Created September 15, 2019 20:50
Keybase

Keybase proof

I hereby claim:

  • I am llxff on github.
  • I am llxff (https://keybase.io/llxff) on keybase.
  • I have a public key ASBAI5Rb45RpdJCy0FoDardrZK1eKrb9U4Vc0LoNfSr7Vwo

To claim this, I am signing this object:

@llxff
llxff / active_admin.rb
Created August 15, 2013 07:29
Using devise + activeadmin with one User model and separate sign_in entry points
config.authentication_method = :authenticate_admin_user!
config.current_user_method = :current_admin_user
config.logout_link_path = :destroy_user_session_path