contact groups controller
This commit is contained in:
parent
25d965d30a
commit
f2ff5eed09
5 changed files with 7 additions and 13 deletions
|
@ -1,17 +1,9 @@
|
|||
class Contacts::ContactGroupController < ApplicationController
|
||||
|
||||
uses_component_template_root
|
||||
|
||||
model :contact_group
|
||||
class ContactGroupsController < ApplicationController
|
||||
layout 'public'
|
||||
|
||||
def index
|
||||
redirect_to(:action=>"list")
|
||||
end
|
||||
|
||||
def list
|
||||
@contactgroup = ContactGroup.new
|
||||
@contactgroup.customer_id = logged_user
|
||||
@contact_group = ContactGroup.new
|
||||
@contact_group.customer_id = logged_user
|
||||
@contactgroups = ContactGroup.find_by_user(logged_user)
|
||||
end
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue