Sha256: 87ea6d627757b32245514d23e32f5ef8e9e9cddd39ce3ab7b5eb109da2c25403

Contents?: true

Size: 400 Bytes

Versions: 13

Compression:

Stored size: 400 Bytes

Contents

Rails.application.routes.draw do
  namespace :admin do
    resources :roles do
      member do
        get  :new
        get  :index
        post :new_role_section
        post :new_role_policy
      end
      resources :sections, :controller => :role_section do
        member do
          get :new_policy
          delete :delete_policy
        end
      end#sections
    end#policy
  end#admin
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
the_role-1.4.1 config/routes.rb
the_role-1.4.0 config/routes.rb
the_role-1.3.1 config/routes.rb
the_role-1.3.0 config/routes.rb
the_role-1.2.1 config/routes.rb
the_role-1.2.0 config/routes.rb
the_role-1.1.1 config/routes.rb
the_role-1.1.0 config/routes.rb
the_role-1.0.0 config/routes.rb
the_role-0.9.93 config/routes.rb
the_role-0.9.92 config/routes.rb
the_role-0.9.91 config/routes.rb
the_role-0.9.9 config/routes.rb