Sha256: 3dda296270ba41b5eb2d3f9deacf348d5d6ffbd1e672a66b88e6677d20e2fc55
Contents?: true
Size: 423 Bytes
Versions: 32
Compression:
Stored size: 423 Bytes
Contents
Dir.glob(File.join(File.dirname(__FILE__), 'cartons', '*.rb')).each {|f| require f } Dir.glob(File.join(File.dirname(__FILE__), 'resources', '*.rb')).each {|f| require f } module Orange::Plugins class Blog < Base views_dir File.join(File.dirname(__FILE__), 'views') resource Orange::BlogResource.new resource Orange::BlogPostResource.new end end Orange.plugin(Orange::Plugins::Blog.new)
Version data entries
32 entries across 32 versions & 2 rubygems