refactor search sidebar, add search permalink

This commit is contained in:
Oliver Gorwits
2012-01-07 12:37:09 +00:00
parent 229423996a
commit 7e502a39b8
10 changed files with 28 additions and 25 deletions

View File

@@ -18,7 +18,8 @@ get '/' => sub {
};
ajax '/ajax/content/search/:thing' => sub {
return '<p>Hello World.</p>';
content_type('text/html');
return '<p>Hello '. param('thing') .'.</p>';
};
get '/search' => sub {