Switch to unified view

a/Allura/allura/config/resources.py b/Allura/allura/config/resources.py
...
...
13
    manager.register_directory(
13
    manager.register_directory(
14
        'allura', pkg_resources.resource_filename('allura', 'public/nf'))
14
        'allura', pkg_resources.resource_filename('allura', 'public/nf'))
15
    for ep in pkg_resources.iter_entry_points('allura'):
15
    for ep in pkg_resources.iter_entry_points('allura'):
16
        try:
16
        try:
17
            manager.register_directory(
17
            manager.register_directory(
18
                'tool/%s' % ep.name,
18
                'tool/%s' % ep.name.lower(),
19
                pkg_resources.resource_filename(
19
                pkg_resources.resource_filename(
20
                    ep.module_name,
20
                    ep.module_name,
21
                    os.path.join('nf', ep.name)))
21
                    os.path.join('nf', ep.name.lower())))
22
        except ImportError:
22
        except ImportError:
23
            log.warning('Cannot import entry point %s', ep)
23
            log.warning('Cannot import entry point %s', ep)
24
            raise
24
            raise
25
    for ep in pkg_resources.iter_entry_points('allura.theme'):
25
    for ep in pkg_resources.iter_entry_points('allura.theme'):
26
        try:
26
        try: