Skip to content

Instantly share code, notes, and snippets.

View kaiwren's full-sized avatar

Sidu Ponnappa kaiwren

View GitHub Profile
@jasper502
jasper502 / active_admin.rb
Last active January 15, 2024 06:00
Active Admin, Devise and Pundit
# /config/initializers/active_admin.rb
ActiveAdmin.setup do |config|
# == User Authentication
#
# Active Admin will automatically call an authentication
# method in a before filter of all controller actions to
# ensure that there is a currently logged in admin user.
#
# This setting changes the method which Active Admin calls