Skip to content

Commit

Permalink
fix: menu test on avo_warining_spec.rb (#3089)
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul-Bob authored Aug 2, 2024
1 parent 3e2743d commit a763f23
Showing 1 changed file with 5 additions and 50 deletions.
55 changes: 5 additions & 50 deletions spec/dummy/config/initializers/avo.rb
Original file line number Diff line number Diff line change
Expand Up @@ -78,56 +78,11 @@
config.search_results_count = 8

## == Menus ==
# config.main_menu = -> do
# section "Resources", icon: "heroicons/solid/building-storefront", collapsable: true, collapsed: false do
# group "Company", collapsable: true do
# resource :projects
# resource :team
# resource :team_membership
# resource :reviews
# end

# group "People", collapsable: true do
# resource "User"
# resource :people
# resource :spouses
# end

# group "Education", collapsable: true do
# resource :course
# resource :course_link
# end

# group "Blog", collapsable: true do
# # resource :z_posts
# resource :posts
# resource :comments
# resource :photo_comments
# end

# section "Store", icon: "heroicons/outline/currency-dollar" do
# resource :products
# resource :stores
# end

# group "Other", collapsable: true, collapsed: true do
# resource :fish, label: "Fishies"
# resource :events
# end
# end

# section "Geography", icon: "heroicons/outline/globe", collapsable: true, collapsed: true do
# resource :city
# end

# section "Tools", icon: "heroicons/outline/finger-print", collapsable: true, collapsed: true do
# all_tools
# end

# group do
# link "Avo", "https://avohq.io"
# link_to "Google", "https://google.com", target: :_blank
# end
if Rails.env.test?
config.main_menu = -> do
link "Avo", "https://avohq.io"
end
end
# end
# config.profile_menu = -> do
# link "Profile", path: "/profile", icon: "heroicons/outline/user-circle"
Expand Down

0 comments on commit a763f23

Please sign in to comment.