From c3f46d4877a8297d1897b80955be2bce870d71ad Mon Sep 17 00:00:00 2001 From: Toni Dezman Date: Thu, 31 Aug 2017 13:24:57 +0200 Subject: [PATCH] adds hounds suggestions on improving the code --- config/routes.rb | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/config/routes.rb b/config/routes.rb index a0225c8b3..8b8b8af5b 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -33,11 +33,15 @@ Rails.application.routes.draw do post '/change_email', to: 'users#change_email' post '/change_password', to: 'users#change_password' post '/change_timezone', to: 'users#change_timezone' - post '/change_assignements_notification', to: 'users#change_assignements_notification' - post '/change_assignements_notification_email', to: 'users#change_assignements_notification_email' + post '/change_assignements_notification', + to: 'users#change_assignements_notification' + post '/change_assignements_notification_email', + to: 'users#change_assignements_notification_email' post '/change_recent_notification', to: 'users#change_recent_notification' - post '/change_recent_notification_email', to: 'users#change_recent_notification_email' - post '/change_system_notification_email', to: 'users#change_system_notification_email' + post '/change_recent_notification_email', + to: 'users#change_recent_notification_email' + post '/change_system_notification_email', + to: 'users#change_system_notification_email' end end