liqd/adhocracy — pull request #676 by miroslavt (2013-12-11 22:20:52+00:00)
Title: #654 - fix the showing of static pages with underscore

The main fix is in routing.py. I moved '/static/{key}{.format}' up in the list so that the two rules with "_" do not mess it. The actions "edit" and "update" should not rely on underscores to match their URLs. Some other matching should be devised. This should be part of their implementation.

StaticController.serve() is a fix - "http://host/static/about" causes an error without it.
The other changes in StaticController are just for consistency. These methods are not used anyway.