Sha256: 8e4a9f3dce4c579cd8f711da7c927c70b066345109f8305f529c270547ea5b92

Contents?: true

Size: 398 Bytes

Versions: 2

Compression:

Stored size: 398 Bytes

Contents

module Caboodle
  class Standard < Caboodle::Kit
    required [:title, :description, :logo_url, :author]
    puts "Test home kit"
    if Caboodle::Site.home_kit.blank? || !(Caboodle::Kit.available_kits.include?(Caboodle::Site.home_kit)) || !(Caboodle::Kits.include?(Caboodle::Site.home_kit))
      puts "There is no home page kit"
      get "/" do
        haml :standard
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
caboodle-0.2.8 lib/caboodle/kits/standard/standard.rb
caboodle-0.2.7 lib/caboodle/kits/standard/standard.rb