News for hackers. Stuff that matters.
Re:Renee, the friendly rack-based framework by judofyr on Saturday October 15, 2011 @10:15AM (#3114851)
Here's the same in Camping, using plain Ruby:

    class Blog < R '/blog/(\d+)'
      def service(id) @blog = Blog.get(id); super end
      def get(id)     render :blog end
      def put(id)     @blog.update_attributes(@input) end
    end

There are no comments on this comment yet.