Subject: | A small typo under: authenticate_user - Attempts auth and then returns a hashref |
Date: | Tue, 19 May 2015 23:13:47 -0700 |
To: | bug-Dancer2-Plugin-Auth-YARBAC [...] rt.cpan.org |
From: | "craig [...] steffler.net" <seaperldev [...] gmail.com> |
Hi Sarah:
The example under: authenticate_user - Attempts auth and then returns a
hashref
starts off with: get '/auth/user' => sub
but if you look it's missing the initial curly bracket
should be: get '/auth/user' => sub {
Also I'm very impressed with the detail as I don't see that very often
anymore in frameworks. I'm still going through all of it but so far I
haven't figured out how you get an initial user inserted into the "users"
table as I honestly doubt you can just manually put it in or folks would do
all kinds of goofy stuff.
The config and database setup examples are some of the best documented I've
seen in years.
--
Craig Steffler
Home: 425-433-8482
Cell: 425-295-8114
Sr. Software Engineer - Perl/Ruby on Rails/PHP
------------------------------------------------------------------------------------------------------------
Q: Why does this email have a pre-determined number of sentences?
A: http://sentenc.es