diff --git a/plugins/album/lib/index.js b/plugins/album/lib/index.js index 0665e51a3..2e7609a0f 100644 --- a/plugins/album/lib/index.js +++ b/plugins/album/lib/index.js @@ -9,7 +9,7 @@ const handler = (request, reply) => { const raw = request.query.raw; json.getAlbum(gallery, albumStem) - .then(response => (raw ? reply(response) : reply.view('plugins/album/views/home.jsx', response))) + .then(response => (raw ? reply(response) : reply.view('plugins/album/views/album.jsx', response))) .catch(error => reply(error)); }; diff --git a/plugins/album/views/home.jsx b/plugins/album/views/album.jsx similarity index 100% rename from plugins/album/views/home.jsx rename to plugins/album/views/album.jsx