Changeset 211 for trunk/lib/camping-unabridged.rb
- Timestamp:
- 09/23/2007 17:09:10 (14 months ago)
- Files:
-
- 1 modified
-
trunk/lib/camping-unabridged.rb (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/camping-unabridged.rb
r209 r211 305 305 # 306 306 module Base 307 include Helpers308 307 attr_accessor :input, :cookies, :env, :headers, :body, :status, :root 309 308 Z = "\r\n" … … 537 536 constants.map { |c| 538 537 k=const_get(c) 539 k.send :include,C,Base, Models538 k.send :include,C,Base,Helpers,Models 540 539 r[0,0]=k if !r.include?k 541 540 k.meta_def(:urls){["/#{c.downcase}"]}if !k.respond_to?:urls
