mirror of
https://github.com/we-promise/sure.git
synced 2026-04-07 22:34:47 +00: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>
13 lines
302 B
Ruby
13 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
|