Sha256: be89f574be40974bd2aaa797294970aeb3d39ad5935d63e11ba2072af25845e8

Contents?: true

Size: 436 Bytes

Versions: 1

Compression:

Stored size: 436 Bytes

Contents

Rails.application.routes.draw do  
  resources :users do
    resources :conversations, :controller => "conversations/conversations", :only => [:new, :create]
    resources :conversations, :controller => "conversations/user_conversations", :except => [:new, :create] do
      resources :messages, :controller => "conversations/messages"
      member do
        post :mark_as_read
        post :mark_as_unread
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
conversations-0.0.1 config/routes.rb