Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add a .html extension to /testimonials
  • Loading branch information
book committed Oct 17, 2012
commit 3d6f75cb7896afc0ac4bb094c0514779d8c46fe5
2 changes: 1 addition & 1 deletion lib/PerlDancer.pm
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ get '/donate/thanks.html' => sub {
template 'thanks';
};

get '/testimonials' => sub {
get '/testimonials.html' => sub {
template 'testimonials-display', { testimonials => [ _get_testimonials() ] };
};

Expand Down
2 changes: 1 addition & 1 deletion views/index.tt
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ ajax '/getloadavg' => sub {

<div id="testimonials" style="">

<h3><a href="/testimonials">What people say about Dancer</a>...</h3>
<h3><a href="/testimonials.html">What people say about Dancer</a>...</h3>

<br clear="both" />
<!-- adjust height of this div to fit longest quote -->
Expand Down