Sha256: c7cffffb5453dee61573d9e73ff41e44768f896c9f1855d74c042aacd9f56f3b
Contents?: true
Size: 989 Bytes
Versions: 35
Compression:
Stored size: 989 Bytes
Contents
Tabulous.setup do tabs do home_tab do text { 'Home' } link_path { home_index_path } visible_when { true } enabled_when { true } active_when { in_action('any').of_controller('home') } end stars_tab do text { 'Stars' } link_path { stars_path } visible_when { true } enabled_when { true } active_when { in_action('any').of_controller('stars') } end planets_tab do text { 'Planets' } link_path { planets_path } visible_when { true } enabled_when { true } active_when { in_action('any').of_controller('planets') } end galaxies_tab do text { 'Galaxies' } link_path { galaxies_path } visible_when { true } enabled_when { true } active_when { in_action('any').of_controller('galaxies') } end end customize do renderer :custom end use_css_scaffolding end
Version data entries
35 entries across 6 versions & 1 rubygems