def verify_admin!
unless ((!params[:account_id].blank?) && (params[:account_id].to_i == current_account.id) && (params[:id].to_i == current_member.id)) || current_member.is_admin?
flash[:alert] = "Can't access this page"
...
def verify_admin!
unless ((!params[:account_id].blank?) && (params[:account_id].to_i == current_account.id) && (params[:id].to_i == current_member.id)) || current_member.is_admin?
flash[:alert] = "Can't access this page"
...
I have this method as part ...