diff options
| author | Jozef Selesi <jozefs@users.sourceforge.net> | 2008-11-19 00:12:25 +0000 |
|---|---|---|
| committer | Jozef Selesi <jozefs@users.sourceforge.net> | 2008-11-19 00:12:25 +0000 |
| commit | b2772f5a050351129a64b966b127e39cf76c80b5 (patch) | |
| tree | a0a7704bdd944d45b09a8959ab3c60c91f31bab1 /themes/default/views/album.html.php | |
| parent | 1992343c2e1f2df892f39f971ae629edc59c33d0 (diff) | |
* Renamed the album, item and photo controllers to albums, items and photos in order to follow the convention that controllers that refer to a collection of resources have plural names.
* Added a bug workaround to routes.php
Diffstat (limited to 'themes/default/views/album.html.php')
| -rw-r--r-- | themes/default/views/album.html.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/default/views/album.html.php b/themes/default/views/album.html.php index b2617998..18c53d46 100644 --- a/themes/default/views/album.html.php +++ b/themes/default/views/album.html.php @@ -12,7 +12,7 @@ <? $album_class = "gAlbum "; ?> <? endif ?> <li class="gItem <?= $album_class ?>"> - <a href="<?= url::site("{$child->type}/{$child->id}") ?>"> + <a href="<?= url::site("{$child->type}s/{$child->id}") ?>"> <img id="gPhotoID-<?= $child->id ?>" class="gThumbnail" alt="photo" src="<?= $child->thumbnail_url() ?>" width="<?= $child->thumbnail_width ?>" |
