Module: SpreeEssentialBlog

Defined in:
lib/spree_essential_blog.rb,
lib/spree_essential_blog/version.rb

Defined Under Namespace

Classes: Engine

Constant Summary collapse

VERSION =
"0.1.0"

Class Method Summary collapse

Class Method Details

.sub_tabObject



10
11
12
# File 'lib/spree_essential_blog.rb', line 10

def self.sub_tab
  [:posts, { :label => 'admin.subnav.posts', :match_path => '/posts' }]
end

.tabObject



6
7
8
# File 'lib/spree_essential_blog.rb', line 6

def self.tab
  { :label => "Posts", :route => :admin_posts }
end