Class: Spree::Admin::StyleGuideController

Inherits:
BaseController
  • Object
show all
Defined in:
app/controllers/spree/admin/style_guide_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject



7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# File 'app/controllers/spree/admin/style_guide_controller.rb', line 7

def index
  @topics = {
    typography: [
      'fonts',
      'colors',
      'lists',
      'icons',
      'tags'
    ],
    forms: [
      'building_forms',
      'validation'
    ],
    components: [
      'tabs'
    ],
    messaging: [
      'loading',
      'flashes',
      'tooltips'
    ],
    tables: [
      'building_tables',
      'pagination'
    ]
  }
end