Skip to content

Commit

Permalink
Merge pull request #3634 from 3scale/THREESCALE-10446_new_account_menu
Browse files Browse the repository at this point in the history
Activate menu in New Provider page
  • Loading branch information
josemigallas authored Nov 22, 2023
2 parents 14014e8 + 7744da5 commit 893693b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/controllers/provider/admin/accounts_controller.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# frozen_string_literal: true

class Provider::Admin::AccountsController < Provider::Admin::Account::BaseController
activate_menu! :buyers, :accounts, only: [:new]
activate_menu :account, :overview

before_action :find_countries, :only => [:edit, :update]
Expand All @@ -11,6 +10,8 @@ class Provider::Admin::AccountsController < Provider::Admin::Account::BaseContro
before_action :disable_client_cache

def new
activate_menu :buyers, :accounts, :listing

@provider = current_account.buyers.new
@user = @provider.admins.new
end
Expand Down

0 comments on commit 893693b

Please sign in to comment.