Skip to content

Instantly share code, notes, and snippets.

@domagude

domagude/routes.rb

Last active Nov 15, 2017
Embed
What would you like to do?
...
namespace :private do
resources :conversations, only: [:create] do
member do
post :close
end
end
resources :messages, only: [:index, :create]
end
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment