Files
chatwoot/enterprise/app/controllers/api/v1/accounts/enterprise_accounts_controller.rb
2023-05-11 22:42:56 +05:30

9 lines
292 B
Ruby

class Api::V1::Accounts::EnterpriseAccountsController < Api::V1::Accounts::BaseController
before_action :prepend_view_paths
# Prepend the view path to the enterprise/app/views won't be available by default
def prepend_view_paths
prepend_view_path 'enterprise/app/views/'
end
end