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

Version Path
SFEley-browsercms-3.0.2 app/controllers/cms/groups_controller.rb
buzzware-browsercms-3.0.2 app/controllers/cms/groups_controller.rb
coredumplings-browsercms-3.0.0 app/controllers/cms/groups_controller.rb
nate-browsercms-3.0.210 app/controllers/cms/groups_controller.rb
nate-browsercms-3.0.211 app/controllers/cms/groups_controller.rb
we5-browsercms-3.0.1.1 app/controllers/cms/groups_controller.rb
webficient-browsercms-3.0.1 app/controllers/cms/groups_controller.rb
webficient-browsercms-3.0.2 app/controllers/cms/groups_controller.rb
webficient-browsercms-3.0.3 app/controllers/cms/groups_controller.rb
webficient-browsercms-3.0.4 app/controllers/cms/groups_controller.rb
browsercms-3.3.4 app/controllers/cms/groups_controller.rb
browsercms-3.3.3 app/controllers/cms/groups_controller.rb
browsercms-3.1.5 app/controllers/cms/groups_controller.rb
browsercms-3.1.4 app/controllers/cms/groups_controller.rb
browsercms-3.3.2 app/controllers/cms/groups_controller.rb
browsercms-3.3.1 app/controllers/cms/groups_controller.rb
browsercms-3.3.0 app/controllers/cms/groups_controller.rb
browsercms-3.1.3 app/controllers/cms/groups_controller.rb
browsercms-3.3.0.beta app/controllers/cms/groups_controller.rb
bf4-browsercms-3.1.0 app/controllers/cms/groups_controller.rb