Permalink
Browse files

quack-and-hack 2012-10

  • Loading branch information...
1 parent b77bcf7 commit 28ea7db33040e3ed8d70887cfb7c6b49727e1273 @nuba nuba committed Oct 29, 2012
Showing with 427 additions and 0 deletions.
  1. +1 −0 lib/Site.pm
  2. +19 −0 lib/Site/Controller/QuackNHack.pm
  3. +1 −0 templates/menu.html.ep
  4. +406 −0 templates/quacknhack/index.html.ep
View
@@ -30,6 +30,7 @@ sub startup {
Livros
Diversao
Regionais
+ QuackNHack
};
Site::Loader::load( $self, @core_modules );
}
@@ -0,0 +1,19 @@
+package Site::Controller::QuackNHack;
+
+use Mojo::Base 'Mojolicious::Controller';
+
+sub startup {
+ my ( $self, $c ) = @_;
+
+ my $r = $c->routes;
+
+ $r->route('/quack-and-hack')->to('quacknhack#index');
+
+}
+
+sub index {
+ my $self = shift;
+}
+
+
+return 42;
View
@@ -1,6 +1,7 @@
<div id="menu">
<ul class="menu">
<li><a href="<%= url_for('/') %>">Home</a></li>
+ <li><a href="<%= url_for('/quack-and-hack') %>">Quack & Hack</a></li>
<li><a href="<%= url_for('/FAQ') %>">FAQ</a></li>
<li><a href="<%= url_for('/quem_usa') %>">Quem usa Perl?</a></li>
<li><a href="<%= url_for('/mitos') %>">Mitos & FUD</a></li>
Oops, something went wrong.

0 comments on commit 28ea7db

Please sign in to comment.