I have this in my admin controller:
before_filter :login_required
before_filter :admin_required
def admin_required
current_user.is_admin?
end
_______________________________________________ rspec-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/rspec-users
