diff options
author | franck cuny <franck@lumberjaph.net> | 2010-09-01 12:08:46 +0200 |
---|---|---|
committer | franck cuny <franck@lumberjaph.net> | 2010-09-01 12:08:46 +0200 |
commit | f033faed1c59ebeb36605232ce62f4043da22124 (patch) | |
tree | d63f9811c6a1ecf9193632c242b4a38740878a6b /lib/mywebapp.pm | |
download | dancerdemo-f033faed1c59ebeb36605232ce62f4043da22124.tar.gz |
initial import
Diffstat (limited to 'lib/mywebapp.pm')
-rw-r--r-- | lib/mywebapp.pm | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/mywebapp.pm b/lib/mywebapp.pm new file mode 100644 index 0000000..c756952 --- /dev/null +++ b/lib/mywebapp.pm @@ -0,0 +1,13 @@ +package mywebapp; +use Dancer ':syntax'; + +our $VERSION = '0.1'; + +load_app 'mywebapp::user', prefix => '/user'; +load_app 'mywebapp::project', prefix => '/project'; + +get '/' => sub { + template 'index'; +}; + +true; |