Sha256: f6a91cd742143811f85f9af9181479cb03636745e3a7e92ff658050fd618a7dc

Contents?: true

Size: 437 Bytes

Versions: 14

Compression:

Stored size: 437 Bytes

Contents

class Caboodle::Standard < Caboodle::Kit
  description "The default home page"
  required [:title, :description, :author]
  optional [:logo_url]
  puts "Home kit: #{Caboodle::Site.home_kit}"
  if Caboodle::Site.home_kit.blank? || Caboodle::Site.home_kit =="Standard"
    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

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
caboodle-0.3.0 lib/caboodle/kits/standard/standard.rb
caboodle-0.2.30 lib/caboodle/kits/standard/standard.rb
caboodle-0.2.29 lib/caboodle/kits/standard/standard.rb
caboodle-0.2.28 lib/caboodle/kits/standard/standard.rb
caboodle-0.2.27 lib/caboodle/kits/standard/standard.rb
caboodle-0.2.26 lib/caboodle/kits/standard/standard.rb
caboodle-0.2.25 lib/caboodle/kits/standard/standard.rb
caboodle-0.2.24 lib/caboodle/kits/standard/standard.rb
caboodle-0.2.23 lib/caboodle/kits/standard/standard.rb
caboodle-0.2.22 lib/caboodle/kits/standard/standard.rb
caboodle-0.2.21 lib/caboodle/kits/standard/standard.rb
caboodle-0.2.20 lib/caboodle/kits/standard/standard.rb
caboodle-0.2.19 lib/caboodle/kits/standard/standard.rb
caboodle-0.2.18 lib/caboodle/kits/standard/standard.rb