I''ve been working with Camping for a little while, reading through the
examples. The "Small Apps, Many Mounts" idea makes sense, and
interacting with other apps'' models (using the full class name) works
just as it should.
But what is the best way to include links to other mounted applications?
As a toy example, I''m trying to add links to the pages in the Tepee
example
to the index page of the Blog example. I''ve got this code:
    class Index < R ''/''
        def get
            @posts = Post.find :all
            @pages = Tepee::Models::Page.find :all
            render :index
        end
    end
in Blog::Controllers, and a view that looks like:
    def index
      if @posts.empty?
        p ''No posts found.''
        p { a ''Add'', :href => R(Add) }
      else
        for post in @posts
          _post(post)
        end
        for page in @pages
          p { a page.title, :href => self/R(Tepee::Controllers::Show, page) }
        end
      end
    end
in Blog::Views.
The links produced look like "/blog/blog/1", which is not correct. It
seems
like I need an instance of Tepee::Mab rather than ''self''
(which is an
instance of Blog::Mab) in the self/R part above. Is there an easier
solution than just constructing one manually?
(Yes, I realize the links could be written out explicitly, but it seems a
shame to hard-code mounts when the rest of the code so cleanly handles
constructing the URLs correctly.)
Thanks,
-- 
Matt Jones
mdj.acme at gmail.com
President/Technical Director, Acme Art Company (acmeartco.org)