Sha256: d53a09a6fb46e2e7f4660e12aba9ec58e686456b8a17462551e9d2dc9fa7362e
Contents?: true
Size: 504 Bytes
Versions: 41
Compression:
Stored size: 504 Bytes
Contents
class Cms::GroupsController < Cms::ResourceController layout 'cms/administration' check_permissions :administrate before_filter :set_menu_section def index @groups = Group.paginate( :include => :group_type, :page => params[:page], :order => params[:order] || "groups.name") end protected def after_create_url index_url end def after_update_url index_url end def set_menu_section @menu_section = 'groups' end end
Version data entries
41 entries across 41 versions & 11 rubygems