Module: Sbdevcore::Routes
- Defined in:
- lib/sbdevcore.rb
Class Method Summary collapse
Class Method Details
.draw(map) ⇒ Object
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
# File 'lib/sbdevcore.rb', line 7 def self.draw(map) map.instance_exec do devise_for :admins resources :contacts resources :photos resources :videos resources :downloadables resources :texts resources :galleries do resources :indices end resources :indices do resources :photos resources :videos resources :downloadables resources :texts resource :gallery end end end |