aboutsummaryrefslogtreecommitdiffstats
path: root/config/routes.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
new file mode 100644
index 0000000..a9bce94
--- /dev/null
+++ b/config/routes.rb
@@ -0,0 +1,11 @@
+Rails.application.routes.draw do
+
+ resources :discussions, :except => :edit do
+ resources :messages, :only => [:create, :index]
+ resources :speakers, :only => [:create, :destroy]
+ member do
+ post 'leave'
+ end
+ end
+
+end \ No newline at end of file