Sha256: 5894661dcb7cc57b18353df263ea69b176c3378253ea2cf10c80e2d7d3cf6cdd

Contents?: true

Size: 576 Bytes

Versions: 60

Compression:

Stored size: 576 Bytes

Contents

Rails.application.routes.draw do
  resources :pictures
  resources :audios
  resources :videos

  resources :documents do
    get "search",   :on => :collection
    get "download", :on => :member
  end
  
  # Social Stream subjects configured in config/initializers/social_stream.rb
  SocialStream.subjects.each do |actor|
    resources actor.to_s.pluralize do
      resources :pictures
      resources :audios
      resources :videos

      resources :documents do
        get "search",   :on => :collection
        get "download", :on => :member
      end
    end
  end
end

Version data entries

60 entries across 60 versions & 2 rubygems

Version Path
social_stream-2.1.1 documents/config/routes.rb
social_stream-1.1.12 documents/config/routes.rb
social_stream-documents-1.1.4 config/routes.rb
social_stream-2.1.0 documents/config/routes.rb
social_stream-documents-2.1.0 config/routes.rb
social_stream-2.0.4 documents/config/routes.rb
social_stream-documents-2.0.4 config/routes.rb
social_stream-2.0.3 documents/config/routes.rb
social_stream-documents-2.0.3 config/routes.rb
social_stream-1.1.11 documents/config/routes.rb
social_stream-documents-1.1.3 config/routes.rb
social_stream-1.1.10 documents/config/routes.rb
social_stream-documents-1.1.2 config/routes.rb
social_stream-1.1.9 documents/config/routes.rb
social_stream-1.1.8 documents/config/routes.rb
social_stream-2.0.2 documents/config/routes.rb
social_stream-documents-2.0.2 config/routes.rb
social_stream-2.0.1 documents/config/routes.rb
social_stream-documents-2.0.1 config/routes.rb
social_stream-2.0.0 documents/config/routes.rb