mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-23 23:29:39 +02:00
* Initial impersonation * Impersonation audit * Keep super admin separate * Remove vscode settings * Comment cleanup * Comment out impersonation fixtures for now * Remove unused controlelr * Add impersonation testing (#1326) * Add impersonation testing * Remove unused method * Update schema.rb * Update brakeman --------- Co-authored-by: Zach Gollwitzer <zach@maybe.co>
12 lines
302 B
Ruby
12 lines
302 B
Ruby
class ApplicationController < ActionController::Base
|
|
include Localize, AutoSync, Authentication, Invitable, SelfHostable, StoreLocation, Impersonatable
|
|
include Pagy::Backend
|
|
|
|
private
|
|
|
|
def with_sidebar
|
|
return "turbo_rails/frame" if turbo_frame_request?
|
|
|
|
"with_sidebar"
|
|
end
|
|
end
|