Jump to: navigation, search

Auth Module

32 bytes added, 17:49, 20 January 2011
no edit summary
# '''edit''' (also called from show) - renders the user preferences screen
# '''update''' - processes updates to user preferences (not yet implemented)
==== app/models/user_sessions.rb ====
'''UserSessions''' extends Authlogic::Session::Base
==== app/models/user .rb ====
'''User''' serializes user_attributes and adds acts_as_authentic functionality to leverage the Authlogic gem. Also sets to_param to username rather than id for prettier urls.
==== app/views/user_sessions/new .html.rb ====
The default login screen, doesn't currently do anything.
==== app/views/users/edit .html.rb ====
The default user preferences screen. Users can update mobile phone numbers and the like (not yet implemented)
==== config/environment.rb ====

Navigation menu