Displaying 1 result from an estimated 1 matches for "register_member_act".
2006 May 16
2
before_filter and the application controller
...mber'' controller and skip the login checks that the before_filters are
currently performing.
In my application my filters look like this:
class ApplicationController < ActionController::Base
before_filter :check_authentication, :except => [:check_authentication]
before_filter :register_member_activity, :except =>
[:check_authentication]
def check_authentication
unless session[:member_id]
session[:intended_uri] = @request.request_uri
redirect_to :controller => ''login'', :action => "signin_form"
end
end
etc....