/loggerhead/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/loggerhead/trunk

« back to all changes in this revision

Viewing changes to loggerhead/controllers/__init__.py

  • Committer: Robey Pointer
  • Date: 2006-12-18 20:52:28 UTC
  • Revision ID: robey@lag.net-20061218205228-lucdunv478b0wls2
another pile of semi-related changes:
* added a download link to the annotate page
* fixed all pages to track paths by file_id, not (changable) path
* some small optimizations
* don't bother to display annotation for a binary file

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
from loggerhead.controllers.revision_ui import RevisionUI
37
37
from loggerhead.controllers.inventory_ui import InventoryUI
38
38
from loggerhead.controllers.annotate_ui import AnnotateUI
 
39
from loggerhead.controllers.download_ui import DownloadUI
39
40
from loggerhead.history import History
40
41
 
41
42
log = logging.getLogger("loggerhead.controllers")
46
47
    revision = RevisionUI()
47
48
    files = InventoryUI()
48
49
    annotate = AnnotateUI()
 
50
    download = DownloadUI()
49
51
    
50
52
    @turbogears.expose()
51
53
    def index(self):