Skip to content

Commit

Permalink
Provide plain link for all results
Browse files Browse the repository at this point in the history
Drop the "Advanced options" nonsense, and use the seed to provide a
direct link to the plain text on the results page instead.
  • Loading branch information
grantisu committed Feb 5, 2015
1 parent 94e7042 commit 1c755c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.psgi
Expand Up @@ -75,7 +75,6 @@ ITEM

push @page, <<FOOTER;
</ul>
Advanced options: try <a href="./names?plain">./names?plain</a>
<a class="small" href="http://github.com/grantisu/Markov-Server">source code</a>
<a class="small" href="http://www.gmathews.com/writing/markov_chains.html">explanation</a>
</body>
Expand Down Expand Up @@ -111,6 +110,7 @@ HEADER
push @page,
'<a class="small" href=".">Index</a>',
"<a class=\"small\" href=\"?${qstr}seed=$seed\">permalink</a>",
"<a class=\"small\" href=\"?${qstr}plain&seed=$seed\">plain</a>",
'</body></html>';

return \@page;
Expand Down

0 comments on commit 1c755c4

Please sign in to comment.