Improve message threads (by @paroga)
This commit is contained in:
parent
673448a5ac
commit
6b32d0c960
13 changed files with 89 additions and 27 deletions
|
|
@ -1,6 +1,10 @@
|
|||
Rails.application.routes.draw do
|
||||
scope '/:foodcoop' do
|
||||
resources :messages, :only => [:index, :show, :new, :create]
|
||||
resources :messages, :only => [:index, :show, :new, :create] do
|
||||
member do
|
||||
get :thread
|
||||
end
|
||||
end
|
||||
|
||||
resources :message_threads, :only => [:index, :show]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue