Sha256: 7ac84b389648cf7409c11827373d183fca62aa9f628b73f3f951a2f559198c22

Contents?: true

Size: 360 Bytes

Versions: 11

Compression:

Stored size: 360 Bytes

Contents

ActionController::Routing::Routes.draw do |map|
  map.namespace :admin, :path_prefix => 'admin/readers' do |admin|
    admin.resources :groups, :has_many => [:memberships, :permissions, :group_invitations, :messages]
  end
  map.resources :groups, :only => [] do |group|
    group.resources :messages, :only => [:index, :show], :member => [:preview]
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
radiant-reader_group-extension-1.2.4 config/routes.rb
radiant-reader_group-extension-1.2.3 config/routes.rb
radiant-reader_group-extension-1.2.2 config/routes.rb
radiant-reader_group-extension-1.2.1 config/routes.rb
radiant-reader_group-extension-1.2.0 config/routes.rb
radiant-reader_group-extension-1.1.2 config/routes.rb
radiant-reader_group-extension-1.1.1 config/routes.rb
radiant-reader_group-extension-1.1.0 config/routes.rb
radiant-reader_group-extension-1.0.1 config/routes.rb
radiant-reader_group-extension-1.0.0 config/routes.rb
radiant-reader_group-extension-0.9.0 config/routes.rb