class ListcontactgroupController < ApplicationController # get all contactgroups before_filter :get_contactgroups layout 'standard' def index @contacts = Contact.get_contactsfrom params[:id] end end