Module: SpreeEssentialCms

Defined in:
lib/spree_essential_cms.rb,
lib/spree_essential_cms/engine.rb,
lib/spree_essential_cms/version.rb

Defined Under Namespace

Classes: Engine

Constant Summary collapse

VERSION =
"0.4.0"

Class Method Summary collapse

Class Method Details

.sub_tabObject



13
14
15
# File 'lib/spree_essential_cms.rb', line 13

def self.sub_tab
  [ :pages, { :match_path => '/pages' }]
end

.tabObject



9
10
11
# File 'lib/spree_essential_cms.rb', line 9

def self.tab
  { :label => "Pages", :route => :admin_pages }
end