Sha256: 59a4c2da73de738d5ce7af9bcdc8462e332ad8d9b998666b3b18efd9738f4971
Contents?: true
Size: 260 Bytes
Versions: 2
Compression:
Stored size: 260 Bytes
Contents
ActionController::Routing::Routes.draw do |map| map.resources :users, :only => [:destroy,:show,:index], :collection => { :menu => :get } do |user| # map.resources :users, :only => [] do |user| user.resources :roles, :only => [:update,:destroy] end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
jakewendt-simply_authorized-1.3.6 | config/routes.rb |
jakewendt-authorized-0.1.4 | config/routes.rb |