Sha256: d9b529a09c9974f1816dc15fde01e7a1e7744fe764281cc4e0b02785bad180a8
Contents?: true
Size: 1.17 KB
Versions: 5
Compression:
Stored size: 1.17 KB
Contents
# This takes care of the rest of functionality you need # for an SEO and easy to build page. # It includes: metadata helpers, grid helpers (e.g. for photo gallerys), # navigation helpers (menus and breadcrumbs), # better render method so you can pass a block to partials # http://github.com/rpheath/navigation_helper.git # http://github.com/justinfrench/lovely-layouts.git # http://github.com/ianwhite/truncate_html # http://github.com/dekart/breadcrumbs.git # http://github.com/html/once/blob/master/lib/once.rb # http://github.com/fnando/breadcrumbs.git # http://github.com/semanticart/smart-meta base = "#{File.expand_path(File.dirname(__FILE__))}/storefront" Dir["#{base}/railtie"] Dir["#{base}/helpers/*"].each do |path| require path unless ::File.directory?(path) end require "#{base}/form/base" require "#{base}/form/input" require "#{base}/form/builder" # make this more explicit Dir["#{base}/**/*"].each do |path| require path unless ::File.directory?(path) || path =~ /helpers/ end module Storefront class << self def configure(&block) yield configuration end def configuration @configuration ||= Storefront::Configuration.new end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
storefront-0.3.2 | lib/storefront.rb |
storefront-0.3.1 | lib/storefront.rb |
storefront-0.3.0 | lib/storefront.rb |
storefront-0.2.8 | lib/storefront.rb |
storefront-0.2.7 | lib/storefront.rb |