Sha256: 3590bbd85a254a0c02fff2d685211547a8c544c5690d36aec1ea6e94151731b0

Contents?: true

Size: 466 Bytes

Versions: 1

Compression:

Stored size: 466 Bytes

Contents

module Caboodle
  class Standard < Caboodle::Kit
    required [:title, :description, :author]
    optional [:logo_url]
    if Caboodle::Site.home_kit.blank? || !(Caboodle::Kit.available_kits.include?(Caboodle::Site.home_kit)) || !(Caboodle::Kits.include?(Caboodle::Site.home_kit))
      puts "Using the default home kit - you will want to run 'caboodle kit:home <kit name>' to specify your own kit"
      get "/" do
        haml :standard
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
caboodle-0.2.9 lib/caboodle/kits/standard/standard.rb