lockup
lockup copied to clipboard
Trestle integration?
I've been trying to integrate Lockup with an existing Trestle admin. I believe I would need to add Lockup to the existing trestle initializer:
# Register callbacks to run before, after or around all Trestle actions.
#
config.before_action do |controller|
# Rails.logger.debug("Before action")
# I'd like to call check_for_lockup here
end
Has anyone tried this?
Thank you!