~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/webapp/media.py

  • Committer: William Grant
  • Date: 2009-12-02 04:02:19 UTC
  • mto: This revision was merged to the branch mainline in revision 1353.
  • Revision ID: grantw@unimelb.edu.au-20091202040219-z2qumlxdkmestikd
Use a different set of routes for public mode, too.

Show diffs side-by-side

added added

removed removed

Lines of Context:
163
163
class Plugin(ViewPlugin, PublicViewPlugin):
164
164
    forward_routes = [(ApplicationRoot, '+media', root_to_media, INF)]
165
165
    views = [(MediaFile, '+index', MediaFileView)]
166
 
    public_views = [(MediaFile, '+index', MediaFileView)]
 
166
    public_forward_routes = forward_routes
 
167
    public_views = views