mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-01 11:37:58 +00:00
feat: Allow SaaS users to manage subscription within the dashboard (#5059)
This commit is contained in:
@@ -17,10 +17,6 @@ class ApplicationController < ActionController::Base
|
||||
Current.user = @user
|
||||
end
|
||||
|
||||
def current_subscription
|
||||
@subscription ||= Current.account.subscription
|
||||
end
|
||||
|
||||
def pundit_user
|
||||
{
|
||||
user: Current.user,
|
||||
|
||||
Reference in New Issue
Block a user