Class Cms::GroupsController
In: app/controllers/cms/groups_controller.rb
Parent: Cms::ResourceController

Methods

Public Instance methods

[Source]

    # File app/controllers/cms/groups_controller.rb, line 7
 7:   def index
 8:     @groups = Group.paginate(
 9:       :include => :group_type,
10:       :page => params[:page], 
11:       :order => params[:order] || "groups.name")
12:   end

Protected Instance methods

[Source]

    # File app/controllers/cms/groups_controller.rb, line 15
15:     def after_create_url
16:       index_url
17:     end

[Source]

    # File app/controllers/cms/groups_controller.rb, line 18
18:     def after_update_url
19:       index_url
20:     end

[Source]

    # File app/controllers/cms/groups_controller.rb, line 22
22:     def set_menu_section
23:       @menu_section = 'groups'
24:     end

[Validate]