<dgoodlad> you can use '../' to refer to the path above the design doc, and so on
Problem solved :) On Sat, Mar 6, 2010 at 9:26 PM, Mikeal Rogers <[email protected]> wrote: > Sorry, gmail decided to send that too early. > >> A proposed fix would be. >> >> Making "to" >> > > Making "to" references that begin with "/" absolute to the entire > CouchDB and rules that do not begin with "/" relative to the ddoc the > way they are now. > > Also, introduce a new variable ":dbname" which refers to the current > database so that you can still write applications that replicate to > other databases that are named differently. > > I thought about making "/" relative to the database but then we can't > access the user database. > > This change would make it possibly to lazily write applications that > don't replicate well by just making a reference to "/" and using it > for everything but having ":dbname" allows you to do the right thing > as long as you use it. > > -Mikeal >
