Sha256: 551ffd94cbe3a9623f19f41634c6c582fe7eba5900745e6dc6ee9535eccb9a8f

Contents?: true

Size: 596 Bytes

Versions: 34

Compression:

Stored size: 596 Bytes

Contents

require "sbdevcore/version"
require "sbdevcore/engine"

module Sbdevcore

  module Routes
    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
  end
end

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
sbdevcore-0.3.10 lib/sbdevcore.rb
sbdevcore-0.3.9 lib/sbdevcore.rb
sbdevcore-0.3.8 lib/sbdevcore.rb
sbdevcore-0.3.7 lib/sbdevcore.rb
sbdevcore-0.3.6 lib/sbdevcore.rb
sbdevcore-0.3.5 lib/sbdevcore.rb
sbdevcore-0.3.4 lib/sbdevcore.rb
sbdevcore-0.3.3 lib/sbdevcore.rb
sbdevcore-0.3.2 lib/sbdevcore.rb
sbdevcore-0.3.1 lib/sbdevcore.rb
sbdevcore-0.3.0 lib/sbdevcore.rb
sbdevcore-0.2.26 lib/sbdevcore.rb
sbdevcore-0.2.25 lib/sbdevcore.rb
sbdevcore-0.2.24 lib/sbdevcore.rb
sbdevcore-0.2.23 lib/sbdevcore.rb
sbdevcore-0.2.22 lib/sbdevcore.rb
sbdevcore-0.2.21 lib/sbdevcore.rb
sbdevcore-0.2.20 lib/sbdevcore.rb
sbdevcore-0.2.19 lib/sbdevcore.rb
sbdevcore-0.2.18 lib/sbdevcore.rb