Hi Campers,

i just download and install the last version from
http://github.com/why/camping/tree/master

Then, when i test with this piece of code :

require 'camping'

Camping.goes :Test

module Test::Controllers
  class Index < R '/'
    def get
      @hello = "Hello World!"
      render :index
    end
  end
end

module Test::Views
  def layout
    html do
      body do
        self << yield
      end
    end
  end

  def index
    p "Camping say [EMAIL PROTECTED]"
  end
end

I just see "Camping say" not "Camping say Hello World!"...

So what's wrong ?
_______________________________________________
Camping-list mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/camping-list

Reply via email to