This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
README | Sat Jun 07 10:26:04 -0700 2008 | [judofyr] |
| |
lib/ | Sat Jun 07 10:26:04 -0700 2008 | [judofyr] |
README
# Only tested on latest HEAD
require 'rubygems'
require 'camping'
require 'filtering_camping'
Camping.goes :Filters
module Filters
include FilteringCamping
before :Index do
@hello = 2
end
before '/login' do
@world = 3
end
before :all do
@var = 1
end
module Controllers
class Index < R '/'
def get
(@hello == 2).to_s
end
end
class Login < R '/login'
def get
(@world == 4).to_s
end
end
class AnotherOne < R '/@'
def get
(@var == 1).to_s
end
end
end
end



