fixed some bugs, added seed data, changed login to use username + styled login/register page

This commit is contained in:
Mike Kelley
2011-08-27 02:34:18 -06:00
parent 17fee3c6d5
commit 14d7aa9772
8 changed files with 111 additions and 44 deletions

View File

@@ -22,7 +22,7 @@ Devise.setup do |config|
# session. If you need permissions, you should implement that in a before filter.
# You can also supply a hash where the value is a boolean determining whether
# or not authentication should be aborted when the value is not present.
# config.authentication_keys = [ :email ]
config.authentication_keys = [ :username ]
# Configure parameters from the request object used for authentication. Each entry
# given should be a request method and it will automatically be passed to the