Sha256: ada83fee9d1f318455a354dfa68f2889281f2073ff6f61125c64336c9ae3dcd0

Contents?: true

Size: 1.32 KB

Versions: 8

Compression:

Stored size: 1.32 KB

Contents

Rails.application.routes.draw do

  resource :settings
  resource :tie
  match "/settings/update_relation/:id" => "settings#update_relation"

  resource :settings
  resource :tie

  resource :actor
  match "/settings/update_relation/:id" => "settings#update_relation"
  match "/settings/manage" => "settings#manage"
  match "/events/manage" => "events#manage"
  match "/settings/delete_relation/:id" => "settings#delete_relation"
  match "/activities/documents" => "activities#documents"
  match "/sessions/delete/:id" => "sessions#delete"
  # Social Stream subjects configured in config/initializers/social_stream.rb

  SocialStream.subjects.each do |actor|
    resources actor.to_s.pluralize do
      resources :events do
        resource :agendas do
          resources :sessions
        end
      end
    end
  end


  match "events/:id/agenda" => "agendas#show"
  match "events/:id/sessions" => "sessions#show"
  match "events/:id/sessions/create" => "sessions#create"


  match "events/:id/agenda/get_sessions" => "agendas#get_sessions"

  match "sessions/:id/move" => "sessions#move"
  match "sessions/:id/resize" => "sessions#resize"
  match "sessions/:id/destroy" => "sessions#destroy"
  match "sessions/:id/new" => "sessions#new"
  match "sessions/:id/create" => "sessions#create"
  match "sessions/:id/update" => "sessions#update"


end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
social_stream-0.9.7 events/config/routes.rb
social_stream-0.9.6 events/config/routes.rb
social_stream-0.9.5 events/config/routes.rb
social_stream-0.9.4 events/config/routes.rb
social_stream-0.9.3 events/config/routes.rb
social_stream-0.9.2 events/config/routes.rb
social_stream-events-0.0.2 config/routes.rb
social_stream-events-0.0.1 config/routes.rb