Skip to content

Commit

Permalink
Recognize the start of the registration page.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Felds committed Nov 24, 2009
1 parent 1311963 commit 7163bd1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/November.pm
Expand Up @@ -37,6 +37,7 @@ class November does Session does Cache {
['edit', /^ <-[?/]>+ $/], { self.edit_page(~$^page) },
['in'], { self.log_in },
['out'], { self.log_out },
['register'], { self.register },
['recent'], { self.list_recent_changes },
['history'], { self.view_page_history(~$^page) },
['all'], { self.list_all_pages },
Expand Down Expand Up @@ -199,6 +200,11 @@ class November does Session does Cache {
);
}

method register {
# Real work will come later.
self.response('register.tmpl');
}

method log_in {
if my $user_name = $.cgi.params<user_name> {
my $password = $.cgi.params<password>;
Expand Down

0 comments on commit 7163bd1

Please sign in to comment.