Skip to content

Commit

Permalink
fix(react): Rename view to component name
Browse files Browse the repository at this point in the history
  • Loading branch information
danactive committed Nov 8, 2016
1 parent 6341b94 commit a39683c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/album/lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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));
};

Expand Down
File renamed without changes.

0 comments on commit a39683c

Please sign in to comment.