Skip to content

Instantly share code, notes, and snippets.

@ingydotnet
Created February 16, 2011 23:14
Show Gist options
  • Save ingydotnet/830512 to your computer and use it in GitHub Desktop.
Save ingydotnet/830512 to your computer and use it in GitHub Desktop.
package Googler;
use 5.008003;
use Mouse;
extends 'Cog::App';
our $VERSION = '0.01';
use constant webapp_class => 'Googler::WebApp';
package Googler::WebApp;
use Mouse;
extends 'Cog::WebApp';
use constant site_navigation => [
'()',
['Gugod' => '/gugod'],
['Ingy' => '/ingy'],
];
use constant url_map => [
'()',
['/(.*)' => 'search', ('$1')],
];
use constant js_files => [
'googler.js',
];
1;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment