Hi there,

in my app sqlalchemy/route-based app, in __init__.py's main I have
something like:
   config = Configurator(settings=settings)
   config.add_static_view('static', 'sunrise:static')
    config.add_route('live', '/live', view='sunrise.views.live',
                     view_renderer='json')
    config.add_route('today', 'today', view='sunrise.views.today',
                     view_renderer='json')

How can I define a route that would serve a static "index.html" from
the static folder for an incoming request for "/".

I think, a simple case like this should be covered by the
documentation.

Thanks,

Dominik

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-devel" group.
To post to this group, send email to pylons-de...@googlegroups.com.
To unsubscribe from this group, send email to 
pylons-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/pylons-devel?hl=en.

Reply via email to