~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 03:54:55 UTC
  • mto: This revision was merged to the branch mainline in revision 1353.
  • Revision ID: grantw@unimelb.edu.au-20091202035455-bk7f4t0lbn2cl4ct
Add support for public views.

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)]