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