Skip to content

Commit

Permalink
add more delegations
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianthedev committed Jan 21, 2025
1 parent 0eab341 commit a1096b0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/components/avo/base_component.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ class Avo::BaseComponent < ViewComponent::Base
include Avo::Concerns::FindAssociationField

delegate :e, to: :helpers
delegate :d, to: :helpers
delegate :main_app, to: :helpers
delegate :avo, to: :helpers

def has_with_trial(ability)
Avo.license.has_with_trial(ability)
Expand Down

0 comments on commit a1096b0

Please sign in to comment.