Sha256: ec92c2e0f0ef6ca426f3265d5ed0912eafb5f1138fe7d2dabcb25cf5134289a8

Contents?: true

Size: 698 Bytes

Versions: 11

Compression:

Stored size: 698 Bytes

Contents

#!/usr/bin/env ruby

#
#  Project <%= @appname %>
#
#  Created using bivouac on <%= Time.now %>.
#  Copyright (c) <%= Time.now.year %> __My__. All rights reserved.
#

require 'rubygems'
require 'camping'
require 'camping/session'

Camping.goes :<%= @appname %>

# module <%= @appname %>
#   include Camping::Session
# end

module <%= @appname %>::Helpers
  # Add your helpers here !
end

module <%= @appname %>::Models
  # Add youy models here !
end

module <%= @appname %>::Controllers
  class Index < R '/'
    def get; render :index end
  end
end

module <%= @appname %>::Views
  def layout
    html { body { self << yield } }
  end
  def index
    div.page "Welcome to the bivouac!"
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
bivouac-0.0.3 lib/bivouac/template/application_jof.rb
bivouac-0.0.4 lib/bivouac/template/application_jof.rb
bivouac-0.0.6 lib/bivouac/template/application_jof.rb
bivouac-0.0.7 lib/bivouac/template/application_jof.rb
bivouac-0.0.5 lib/bivouac/template/application_jof.rb
bivouac-0.0.9 lib/bivouac/template/application_jof.rb
bivouac-0.1.0 lib/bivouac/template/application_jof.rb
bivouac-0.1.1 lib/bivouac/template/application_jof.rb
bivouac-0.0.8 lib/bivouac/template/application_jof.rb
bivouac-0.1.3 lib/bivouac/template/application_jof.rb
bivouac-0.1.2 lib/bivouac/template/application_jof.rb