Skip to content

Commit

Permalink
Rename function
Browse files Browse the repository at this point in the history
  • Loading branch information
tomdonarski committed Oct 26, 2023
1 parent 5d0028c commit 5d16081
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ def build

def add_add_store_credit_action(root)
action =
ActionBuilder.new(new_user_config).
ActionBuilder.new(add_store_credit_config).
with_create_ability_check(::Spree::StoreCredit).
build

root.add(action)
end

def new_user_config
def add_store_credit_config
{
icon_name: 'add.svg',
key: :add_store_credit,
Expand Down

0 comments on commit 5d16081

Please sign in to comment.