Module UserSystem
In: lib/user_system.rb
lib/user_system.rb
UserSystem dot/f_5.png

Methods

Protected Instance methods

overwrite if you want to have special behavior in case the user is not authorized to access the current operation. the default action is to redirect to the login screen example use : a popup window might just close itself for instance

overwrite if you want to have special behavior in case the user is not authorized to access the current operation. the default action is to redirect to the login screen example use : a popup window might just close itself for instance

authenticate_user filter. add

  before_filter :authenticate_user

authenticate_user filter. add

  before_filter :authenticate_user

[Validate]