Created
August 28, 2015 07:21
-
-
Save hennevogel/86295fdb686a57eeda2e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/api/config/routes.rb b/src/api/config/routes.rb | |
index 66861c4..3127aea 100644 | |
--- a/src/api/config/routes.rb | |
+++ b/src/api/config/routes.rb | |
@@ -281,7 +281,7 @@ OBSApi::Application.routes.draw do | |
get 'user/autocomplete' => :autocomplete | |
get 'user/tokens' => :tokens | |
- post 'user/do_login' => :do_login | |
+ post 'user/do_login' => :do_login, constraints: cons | |
get 'configuration/users/:user' => :edit, constraints: cons, as: 'configuration_user' | |
post 'user/notifications' => :update_notifications |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment