diff --git a/app/controllers/admin/application_controller.rb b/app/controllers/admin/application_controller.rb index 0c84ad77f..33196af0a 100644 --- a/app/controllers/admin/application_controller.rb +++ b/app/controllers/admin/application_controller.rb @@ -5,18 +5,21 @@ module Admin after_action :verify_authorized HELP_URLS = { - badges: "https://admin.forem.com/docs/admin/badges", - badge_achievements: "https://admin.forem.com/docs/admin/badges", - configs: "https://admin.forem.com/docs/admin/config/README", - navigation_links: "https://admin.forem.com/docs/admin/navigation-links", - pages: "https://admin.forem.com/docs/admin/pages", - podcasts: "https://admin.forem.com/docs/admin/podcasts", - reports: "https://admin.forem.com/docs/admin/reports", - users: "https://admin.forem.com/docs/admin/users/README", - html_variants: "https://admin.forem.com/docs/admin/html-variants", - display_ads: "https://admin.forem.com/docs/admin/display-ads", - chat_channels: "https://admin.forem.com/docs/admin/chat-channels", - tags: "https://admin.forem.com/docs/admin/tags" + articles: "https://admin.forem.com/docs/forem-basics/posts", + badges: "https://admin.forem.com/docs/forem-basics/badges", + badge_achievements: "https://admin.forem.com/docs/forem-basics/badges", + chat_channels: "https://admin.forem.com/docs/advanced-customization/chat-channels", + display_ads: "https://admin.forem.com/docs/advanced-customization/display-ads", + feedback_messages: "https://admin.forem.com/docs/advanced-customization/reports", + html_variants: "https://admin.forem.com/docs/advanced-customization/html-variants", + navigation_links: "https://admin.forem.com/docs/advanced-customization/navigation-links", + organizations: "https://admin.forem.com/docs/managing-your-community/organization-pages", + pages: "https://admin.forem.com/docs/forem-basics/pages", + permissions: "https://admin.forem.com/docs/forem-basics/user-roles", + podcasts: "https://admin.forem.com/docs/advanced-customization/content-manager/podcasts", + settings: "https://admin.forem.com/docs/advanced-customization/config/api-tokens", + tags: "https://admin.forem.com/docs/forem-basics/tags", + users: "https://admin.forem.com/docs/forem-basics/user-roles" }.freeze protected diff --git a/app/views/layouts/admin.html.erb b/app/views/layouts/admin.html.erb index 941e7803d..8afc1c0d9 100644 --- a/app/views/layouts/admin.html.erb +++ b/app/views/layouts/admin.html.erb @@ -96,7 +96,7 @@ <% end %> <%= yield %> - <% if false #@help_url HELP BUTTON NOT CURRENTLY LINKING TO PROPER PAGES %> + <% if @help_url %> <%= inline_svg_tag("circle-question.svg", aria: true, title: "Forem Admin Guide") %>