闭社主体 forked from https://github.com/tootsuite/mastodon
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
712 B

  1. # frozen_string_literal: true
  2. SimpleNavigation::Configuration.run do |navigation|
  3. navigation.items do |primary|
  4. primary.item :accounts, safe_join([fa_icon('users fw'), 'Accounts']), admin_accounts_url
  5. primary.item :pubsubhubbubs, safe_join([fa_icon('paper-plane-o fw'), 'PubSubHubbub']), admin_pubsubhubbub_index_url
  6. primary.item :domain_blocks, safe_join([fa_icon('lock fw'), 'Domain Blocks']), admin_domain_blocks_url
  7. primary.item :sidekiq, safe_join([fa_icon('diamond fw'), 'Sidekiq']), sidekiq_url
  8. primary.item :pghero, safe_join([fa_icon('database fw'), 'PgHero']), pghero_url
  9. primary.item :settings, safe_join([fa_icon('cogs fw'), 'Site Settings']), admin_settings_url
  10. end
  11. end