mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 11:44:06 -06:00
82031aaf16
This plugin is only useful for developers, however, making it core allows us to centralize any component modification in one commit. This integration also adds a new site_setting: `styleguide_admin_only` which allows to enable a styleguide on a live site while restricting visibility to admins only. By default, styleguide is disabled.
7 lines
151 B
Ruby
7 lines
151 B
Ruby
# frozen_string_literal: true
|
|
|
|
Styleguide::Engine.routes.draw do
|
|
get "/" => 'styleguide#index'
|
|
get "/:category/:section" => 'styleguide#index'
|
|
end
|