From fb801ab393a47cdc1bae3af063845f52dbdd258a Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Wed, 30 May 2012 19:36:43 -0400 Subject: Settings: added a settings module so that users can turn email notifications for new messages on or off. --- config/routes.rb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'config') diff --git a/config/routes.rb b/config/routes.rb index 3ecb989..a23ed52 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,5 +1,10 @@ Rails.application.routes.draw do + scope :module => :inboxes do + match '/discussions/settings' => 'discussions#settings' + resources :inboxes_settings, :only => [:update] + end + resources :discussions, :except => :edit, :module => :inboxes do resources :messages, :only => [:create, :index] resources :speakers, :only => [:create, :destroy] -- cgit v1.2.3