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

Version Path
orange-more-0.6.0 lib/orange-more/blog/plugin.rb
orange-more-0.5.8 lib/orange-more/blog/plugin.rb
orange-more-0.5.7 lib/orange-more/blog/plugin.rb
orange-0.5.5 lib/orange-more/blog/plugin.rb
orange-0.5.4 lib/orange-more/blog/plugin.rb
orange-0.5.3 lib/orange-more/blog/plugin.rb
orange-0.5.2 lib/orange-more/blog/plugin.rb
orange-0.5.1 lib/orange-more/blog/plugin.rb
orange-0.4.0 lib/orange-more/blog/plugin.rb
orange-0.3.9 lib/orange-more/blog/plugin.rb
orange-0.3.8 lib/orange-more/blog/plugin.rb
orange-0.3.7 lib/orange-more/blog/plugin.rb
orange-0.3.6 lib/orange-more/blog/plugin.rb
orange-0.3.5 lib/orange-more/blog/plugin.rb
orange-0.3.4 lib/orange-more/blog/plugin.rb
orange-0.3.3 lib/orange-more/blog/plugin.rb
orange-0.3.2 lib/orange-more/blog/plugin.rb
orange-0.3.1 lib/orange-more/blog/plugin.rb
orange-0.3.0 lib/orange-more/blog/plugin.rb
orange-0.2.11 lib/orange-more/blog/plugin.rb